C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a; scanf("%d",&a); while(a>=90&&a<=100) { print…… 题解列表 2018年12月10日 0 点赞 0 评论 730 浏览 评分:0.0
校门外的树 (C++代码)数组标记,简洁 解题思路:由于马路上有一些区域要用来建地铁。这些区域用它们在数轴上的起始点和终止点表示。已知任一区域的起始点和终止点的坐标都是整数,区域之间可能有重合的部分。数组初始化为0,如果在区域里的全部标记为1,然后统计0的个数就是剩下的树的数目注意事项:注意两端都能取到参考代码:#include 题解列表 2018年12月10日 1 点赞 0 评论 1421 浏览 评分:2.0 排列(C语言代码)(第一次上传题解) 摘要:解题思路:用三重循环解决四个数字的全排列注意事项:题目中说的按从小到大是误导,不需要给数字排序参考代码:#include<stdio.h> int main() { int a[4]={…… 题解列表 2018年12月10日 12 点赞 0 评论 2068 浏览 评分:9.0 超级楼梯 (C++代码)重温一下记忆搜索 摘要:#include<bits/stdc++.h> using namespace std; int a[50]={0,1,1,2}; int dp[50]; int f(int n) { …… 题解列表 2018年12月09日 0 点赞 1 评论 1674 浏览 评分:0.0 筛排处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f(int a,int b) { return a<b; }…… 题解列表 2018年12月09日 0 点赞 0 评论 1154 浏览 评分:0.0 第几天 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,y,r; int a[12]…… 题解列表 2018年12月09日 1 点赞 0 评论 2592 浏览 评分:0.0 神奇的fans (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; whi…… 题解列表 2018年12月09日 1 点赞 0 评论 1698 浏览 评分:0.0 C语言训练-求矩阵的两对角线上的元素之和 (C语言代码) 摘要:解题思路:注意事项:参考代码:int main(){ int N; scanf("%d",&N); &nb 题解列表 2018年12月09日 4 点赞 0 评论 1663 浏览 评分:0.0 破解简单密码 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string a; while(cin>…… 题解列表 2018年12月09日 0 点赞 0 评论 2340 浏览 评分:6.0 【亲和数】 (C语言代码) 摘要:解题思路:注意事项:注意sum1和sum2每次循环归零 参考代码:#include<stdio.h>int main(){ int n=0,a=0,b=0,sum1=0,sum2=0,i=0,k=0;…… 题解列表 2018年12月09日 0 点赞 0 评论 1219 浏览 评分:0.0 « 12...4957495849594960496149624963...59125913 »
排列(C语言代码)(第一次上传题解) 摘要:解题思路:用三重循环解决四个数字的全排列注意事项:题目中说的按从小到大是误导,不需要给数字排序参考代码:#include<stdio.h> int main() { int a[4]={…… 题解列表 2018年12月10日 12 点赞 0 评论 2068 浏览 评分:9.0
超级楼梯 (C++代码)重温一下记忆搜索 摘要:#include<bits/stdc++.h> using namespace std; int a[50]={0,1,1,2}; int dp[50]; int f(int n) { …… 题解列表 2018年12月09日 0 点赞 1 评论 1674 浏览 评分:0.0
筛排处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f(int a,int b) { return a<b; }…… 题解列表 2018年12月09日 0 点赞 0 评论 1154 浏览 评分:0.0
第几天 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,y,r; int a[12]…… 题解列表 2018年12月09日 1 点赞 0 评论 2592 浏览 评分:0.0
神奇的fans (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; whi…… 题解列表 2018年12月09日 1 点赞 0 评论 1698 浏览 评分:0.0
C语言训练-求矩阵的两对角线上的元素之和 (C语言代码) 摘要:解题思路:注意事项:参考代码:int main(){ int N; scanf("%d",&N); &nb 题解列表 2018年12月09日 4 点赞 0 评论 1663 浏览 评分:0.0
破解简单密码 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string a; while(cin>…… 题解列表 2018年12月09日 0 点赞 0 评论 2340 浏览 评分:6.0
【亲和数】 (C语言代码) 摘要:解题思路:注意事项:注意sum1和sum2每次循环归零 参考代码:#include<stdio.h>int main(){ int n=0,a=0,b=0,sum1=0,sum2=0,i=0,k=0;…… 题解列表 2018年12月09日 0 点赞 0 评论 1219 浏览 评分:0.0