课本上的习题 摘要:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int x; cin >> x;…… 题解列表 2024年01月01日 0 点赞 0 评论 458 浏览 评分:9.9
好写》好写 摘要:参考代码:#includeusing namespace std; int main() { int arr[10]; int sum = 0; for(int i = 0; i …… 题解列表 2024年01月01日 0 点赞 0 评论 527 浏览 评分:9.9
数组与循环结合,可以很好处理这类问题 摘要:解题思路:类似switch的击穿现象注意事项:注意数据类型的处理参考代码:#include<iostream> using namespace std; int main() { int…… 题解列表 2024年01月01日 5 点赞 3 评论 975 浏览 评分:10.0
C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<math.h>#include<stdio.h>double jca(int…… 题解列表 2024年01月01日 0 点赞 0 评论 756 浏览 评分:0.0
正确的递归应该是啥样的?。。。 摘要:参考代码:#include<iostream> using namespace std; void print1(int a); void print2(int a); int main(…… 题解列表 2024年01月01日 0 点赞 0 评论 729 浏览 评分:9.9
循环与数组合理搭配,写起来好看的撒 摘要:参考代码:#include<iostream> using namespace std; int main() { int x; cin >> x; char score[5] …… 题解列表 2024年01月01日 1 点赞 0 评论 855 浏览 评分:9.9
sort还是方便的 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; int main() { int arr[3]; …… 题解列表 2024年01月01日 0 点赞 0 评论 601 浏览 评分:9.9
依次处理单个字符即可 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; int main() { …… 题解列表 2024年01月01日 2 点赞 0 评论 971 浏览 评分:9.9
遍历矩阵,行号和列号来决定是不是边缘元素 摘要:参考代码:#include<iostream> using namespace std; int main() { int n, m; cin >> n >> m…… 题解列表 2024年01月01日 0 点赞 0 评论 579 浏览 评分:9.9
清晰简洁(看我的) 摘要:解题思路:找每行最大值,然后判断是否为该列最小值,若不符合该列最小,则直接pass,找下一行最大值注意事项:参考代码:#include<iostream> using namespace std; …… 题解列表 2024年01月01日 0 点赞 0 评论 568 浏览 评分:9.9