优质题解 Manchester-百钱百鸡问题(很快) 摘要:解题思路:1.首先定义变量coincock(可用来买公鸡的钱),coinhen(可用来买母鸡的钱),coinchi(可用来买小鸡的钱);2.先买公鸡,买后剩余的钱存在coinhen里; 买完后剩余的…… 题解列表 2017年12月19日 21 点赞 3 评论 2323 浏览 评分:4.5
Manchester- 海绵宝宝求车速 摘要:解题思路:把要判断的数的每一位存入数组,首尾相同,且中间两个数也相同,输出结果;参考代码:#include <stdio.h> #include <math.h> int main() { …… 题解列表 2017年12月19日 10 点赞 4 评论 2713 浏览 评分:9.8
蓝桥杯基础练习VIP-高精度加法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int r, i, j, k; int a[100]…… 题解列表 2017年12月19日 0 点赞 0 评论 1197 浏览 评分:0.0
蛇行矩阵 (C语言代码) 简单野蛮算法不找规律,一个原始数组搞定 摘要:解题思路:它要输出的恰好是1,2,3,4。。。 这样递增的数字所以我们可以按着这些数字顺序逐个写入数组里面下面开始演示注意事项:为了节省时间可以适当break;参考代码:#include<stdio.…… 题解列表 2017年12月19日 1 点赞 0 评论 1472 浏览 评分:0.0
Manchester-求素数问题 摘要:解题思路:判断素数,除1 和 它本身外,有因子,则不是素数;注意事项:1既不是素数,也不是合数参考代码:#include <stdio.h> void out_put( int i ); …… 题解列表 2017年12月19日 22 点赞 0 评论 1779 浏览 评分:9.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,x; double j=1,sum=0; for(i=1;i<=30;i++) …… 题解列表 2017年12月18日 0 点赞 0 评论 896 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c, space ,number ,character , other; space = nu…… 题解列表 2017年12月18日 0 点赞 0 评论 1101 浏览 评分:0.0
恺撒密码 (C语言代码) 摘要:参考代码:(没优化)#include <stdio.h> #include <string.h> int main() { int t1='V'-'A',…… 题解列表 2017年12月18日 3 点赞 0 评论 1554 浏览 评分:9.9
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int m,n,r=1,max,min,k,h,i; scan…… 题解列表 2017年12月18日 0 点赞 0 评论 1088 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int i,a[20],n=0,count=0; double…… 题解列表 2017年12月18日 0 点赞 0 评论 956 浏览 评分:0.0