蓝桥杯算法训练VIP-s01串 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"#define max 10000void fun(int n){ char s = '0', a[max]…… 题解列表 2018年10月24日 0 点赞 0 评论 786 浏览 评分:0.0
蓝桥杯算法训练VIP-集合运算 (C语言代码) 摘要:#include "stdafx.h"#define max 1000void BubbleSort(int n, int a[]){ int i,j,t; for(i=0;i<n-1;i++) f…… 题解列表 2018年10月24日 0 点赞 0 评论 599 浏览 评分:0.0
蓝桥杯算法训练VIP-黑色星期五 (C语言代码) 摘要:为什么不对 !!#include "stdio.h"#define cdate 13int fun_year(int y){ if (y % 4 == 0 && y % 100 != 0 || y %…… 题解列表 2018年10月24日 0 点赞 0 评论 640 浏览 评分:0.0
蓝桥杯算法训练VIP-数组查找及替换 (C++代码) 摘要:#include<bits/stdc++.h> using namespace std; int main() { int a[100],n,b; cin>>n>>b; for(in…… 题解列表 2018年10月24日 1 点赞 0 评论 657 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 (C++代码) 摘要:解题思路:#include<bits/stdc++.h> using namespace std; int main() { string s,a; cin>>s; getch…… 题解列表 2018年10月24日 4 点赞 0 评论 691 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:#include"stdafx.h"#include"math.h"int main(){ int a, t = 0, i, n[5]; scanf("%d", &a); do { n[t] = a…… 题解列表 2018年10月24日 0 点赞 0 评论 345 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:#include"stdio.h"#include"math.h"int Gcd(int m, int n){ int t; do { t = m%n; …… 题解列表 2018年10月24日 0 点赞 0 评论 527 浏览 评分:0.0
【密码】 (C语言代码) 摘要:解题思路:先判断字符串是否大于等于8而且小于等于16,如果不是,则表示密码不安全,后面的就不用继续判断了。然后再判断每一种字符是否出现,如果第一次出现,则count++,以后再出现,就不加了。然后判断…… 题解列表 2018年10月24日 1 点赞 0 评论 557 浏览 评分:0.0
蓝桥杯算法提高VIP-彩票 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int n, num, i, x, j; int a[8]={0}, b[8]={0}; num …… 题解列表 2018年10月24日 0 点赞 0 评论 586 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:#include<stdio.h>#define max 100int main(){ int N,i,j,t,x,k; int a[max]={0}; scanf("%d",&N)…… 题解列表 2018年10月24日 0 点赞 0 评论 525 浏览 评分:0.0