勾股数 (C语言代码) 摘要:#include <stdio.h> int main() { int i,j,k; for(i=3;i<=1000;i++) for(j=i;j<=1000;j++) fo…… 题解列表 2017年12月09日 0 点赞 0 评论 921 浏览 评分:0.0
班级人数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float p,q; int i,cheak; while (scanf("%f%f",&p,&q)!=EOF…… 题解列表 2017年12月09日 0 点赞 0 评论 950 浏览 评分:0.0
第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct Data{ int year; int month; int day;};int ComputerDays(struct…… 题解列表 2017年12月09日 0 点赞 0 评论 1167 浏览 评分:0.0
单词个数统计 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main() { char c[1000]; gets(c); int i,count=1; …… 题解列表 2017年12月09日 0 点赞 0 评论 792 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>void test1(char arr1[],char arr2[]);int main(){ char ch1[40]=…… 题解列表 2017年12月09日 0 点赞 0 评论 774 浏览 评分:0.0
程序员的表白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,k; while(scanf("%d",&a)!=EOF) { for(i=1;i<=a+1;…… 题解列表 2017年12月09日 0 点赞 0 评论 932 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:用m记录母牛,c[3]分别记录1到3岁的母牛。注意事项:竟然跟舍友不谋而合。比较好理解,当然跟大佬的代码效率上还是有区别。参考代码:#include<stdio.h>#include<str…… 题解列表 2017年12月09日 0 点赞 0 评论 692 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,N; scanf("%d",&N); c=0; for (a=2;a<N;a++) { b…… 题解列表 2017年12月09日 0 点赞 0 评论 732 浏览 评分:0.0
数组输出 (C语言代码) 摘要:#include <stdio.h> #include <math.h> int main() { int a[3][4],i,j,max=0; for(i=0;i<3;i++) …… 题解列表 2017年12月09日 1 点赞 4 评论 561 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:一定要细心1参考代码:#include <stdio.h> void fun(char ch[],int* a,int* b,int* c,int* d); int mai…… 题解列表 2017年12月09日 0 点赞 0 评论 573 浏览 评分:0.0