C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int i,a[20],n=0,count=0; double…… 题解列表 2017年12月18日 0 点赞 0 评论 1337 浏览 评分: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 评论 1178 浏览 评分: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 评论 1622 浏览 评分: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 评论 4085 浏览 评分:9.8
优质题解 Manchester- DNA(最容易理解-带图) 解题思路:(这里A,B就是题目中的a,b);1.总的思路,把整个DNA的输出变成得到每一行,然后输出;2.首先得到DNA的第一行,用字符数组记录;3.第一行DNA的宽度就是A,即字符数组的有效长度为A,且第一行DNA的型式都是第一个字符和最后一个字符都是'X'中间的为空格;4.交换X得 题解列表 2017年12月18日 66 点赞 13 评论 6209 浏览 评分:8.9
Manchester-The 3n + 1 problem 摘要:解题思路1.输入两个整数,a,b,然后输出这两个数,每个后面都要有一个空格符;(以文件结束符结束)2.如果a>b,交换这两个数;3.判断从a到b的每一个数 i(包括a,b),(1)如果i为奇数i=i*…… 题解列表 2017年12月18日 42 点赞 3 评论 1800 浏览 评分:8.4
人民币问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i,j,k,n,count=0; scanf("%d",&n); for(i…… 题解列表 2017年12月18日 0 点赞 0 评论 1100 浏览 评分:0.0
花落的新手算法(C语言代码) 摘要:解题思路:学过结构体就可以做了,没什么难度,但是要注意变量类型。注意事项:参考代码:#include<stdio.h>struct store { char MC [100]; double DJ; …… 题解列表 2017年12月18日 0 点赞 0 评论 1106 浏览 评分:0.0
花落的新手算法(C语言代码) 摘要:解题思路:学过结构体的就可以做啦,没什么难度。注意事项:参考代码:#include<stdio.h>#define AUM(x,y) {struct student t;t=x;x=y;y=t;}s…… 题解列表 2017年12月18日 0 点赞 0 评论 1684 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include <string.h>int main(){ int i,n,m,sum=0; char c[80]; …… 题解列表 2017年12月18日 0 点赞 0 评论 1362 浏览 评分:0.0