C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:#include<stdio.h>//在数组内存放因子\n此方法下面的方法为超时方法 int main() { int a,b,c=0,n=0,i,temp; int j[10…… 题解列表 2018年09月30日 1 点赞 0 评论 1678 浏览 评分:0.0
简单素数筛选法 摘要:#include<stdio.h> int main(){ int sample; scanf("%d", &sample); int criterion=1; …… 题解列表 2018年09月30日 0 点赞 0 评论 1810 浏览 评分:0.0
so简洁的代码 摘要:#include<stdio.h> #include<math.h> int main(){ int n, i, s=0; scanf("%d", &n); for(…… 题解列表 2018年09月30日 1 点赞 1 评论 860 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:解题思路:对上面的代码的一个补充,简单易懂注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a[10],i,j,num…… 题解列表 2018年09月30日 0 点赞 0 评论 1244 浏览 评分:0.0
C语言训练-求素数问题 (C语言代码) 摘要:#include<stdio.h> int main(){ int N; int criterion; scanf("%d", &N); for(int i=…… 题解列表 2018年09月30日 1 点赞 0 评论 2346 浏览 评分:9.9
【偶数求和】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<string.h> using namespace std; in…… 题解列表 2018年09月30日 0 点赞 0 评论 1387 浏览 评分:0.0
找对角线元素下标之间的关系(转为一维) 摘要:#include<stdio.h> int main(){ int N; int matrix; int sum=0; scanf("%d", &N); …… 题解列表 2018年09月30日 1 点赞 0 评论 2182 浏览 评分:0.0
C语言训练-邮票组合问题* (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { /* 4张3分 3张5分 3 3 3 3 5 5 5 *…… 题解列表 2018年09月30日 1 点赞 1 评论 2204 浏览 评分:9.2
Hello, world! (Java代码)我认为这道题有问题,请大家指正 摘要:解题思路:这道题大家的答案都是接受两行的字符串,然后去掉空格,识别数字,将其转化为字符输出。这相当于只是把输入的样例转化到输出了但我认为 这道题的题意是,输入一些整数,其中无论包…… 题解列表 2018年09月30日 0 点赞 4 评论 2510 浏览 评分:9.9
C语言训练-求函数值 (C语言代码) 摘要:#include<stdio.h> int recursion(int x){ if(x==1){ return 10; } else … 题解列表 2018年09月30日 1 点赞 0 评论 1443 浏览 评分:0.0