母牛的故事 (C语言代码) 摘要:解题思路:用m记录母牛,c[3]分别记录1到3岁的母牛。注意事项:竟然跟舍友不谋而合。比较好理解,当然跟大佬的代码效率上还是有区别。参考代码:#include<stdio.h>#include<str…… 题解列表 2017年12月09日 0 点赞 0 评论 699 浏览 评分: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 评论 739 浏览 评分: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 评论 564 浏览 评分: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 评论 576 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2017年12月09日 18 点赞 0 评论 1646 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题6.3 (Java代码) 摘要:解题思路: 利用数学算法,轻松解决!并不需要构造函数!注意事项:注意for循环次数!参考代码:import java.util.Scanner;public class Thirteen { p…… 题解列表 2017年12月09日 2 点赞 2 评论 538 浏览 评分:0.0
淘淘的名单 (C语言代码) 摘要:#include<stdio.h> #include <string.h> int main() { int n,i; char a[10000][5]; …… 题解列表 2017年12月09日 1 点赞 0 评论 1106 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#define jiaohuan(a,b) temp=a;a=b;b=tempint main(){ int temp,c…… 题解列表 2017年12月09日 0 点赞 0 评论 583 浏览 评分:0.0
理财计划 (C语言代码) 摘要:#include<stdio.h> #include <string.h> int main() { int k,n,i; double p,sum=0; scanf("%d%d…… 题解列表 2017年12月09日 0 点赞 2 评论 697 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#define quyu(a,b) (a)%(b)int main(){ int c,a=3,b=2; scanf("%d…… 题解列表 2017年12月09日 0 点赞 0 评论 545 浏览 评分:0.0