Manchester-求素数问题 摘要:解题思路:判断素数,除1 和 它本身外,有因子,则不是素数;注意事项:1既不是素数,也不是合数参考代码:#include <stdio.h> void out_put( int i ); …… 题解列表 2017年12月19日 22 点赞 0 评论 1959 浏览 评分: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 评论 1042 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c, space ,number ,character , other; space = nu…… 题解列表 2017年12月18日 0 点赞 0 评论 1337 浏览 评分:0.0
恺撒密码 (C语言代码) 摘要:参考代码:(没优化)#include <stdio.h> #include <string.h> int main() { int t1='V'-'A',…… 题解列表 2017年12月18日 3 点赞 0 评论 1791 浏览 评分: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 评论 1325 浏览 评分: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 评论 1116 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int i; for(i=10;i<=1000;i++) …… 题解列表 2017年12月18日 0 点赞 0 评论 899 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int i,temp=2,sum=0,n; scanf("%d…… 题解列表 2017年12月18日 0 点赞 0 评论 1342 浏览 评分:0.0
WU-C语言训练-"水仙花数"问题1 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { int n,s1,s2,s3; scanf("%d",&n); s1=n%1…… 题解列表 2017年12月18日 7 点赞 10 评论 3952 浏览 评分:9.8
优质题解 Manchester- DNA(最容易理解-带图) 摘要:解题思路:(这里A,B就是题目中的a,b);1.总的思路,把整个DNA的输出变成得到每一行,然后输出;2.首先得到DNA的第一行,用字符数组记录;3.第一行DNA的宽度就是A,即字符数组的有效长度为A…… 题解列表 2017年12月18日 66 点赞 13 评论 5900 浏览 评分:8.9