C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<math.h>#include<stdio.h>double jca(int…… 题解列表 2024年01月01日 0 点赞 0 评论 763 浏览 评分:0.0
正确的递归应该是啥样的?。。。 摘要:参考代码:#include<iostream> using namespace std; void print1(int a); void print2(int a); int main(…… 题解列表 2024年01月01日 0 点赞 0 评论 733 浏览 评分:9.9
循环与数组合理搭配,写起来好看的撒 摘要:参考代码:#include<iostream> using namespace std; int main() { int x; cin >> x; char score[5] …… 题解列表 2024年01月01日 1 点赞 0 评论 858 浏览 评分:9.9
sort还是方便的 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; int main() { int arr[3]; …… 题解列表 2024年01月01日 0 点赞 0 评论 605 浏览 评分:9.9
依次处理单个字符即可 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; int main() { …… 题解列表 2024年01月01日 2 点赞 0 评论 975 浏览 评分:9.9
遍历矩阵,行号和列号来决定是不是边缘元素 摘要:参考代码:#include<iostream> using namespace std; int main() { int n, m; cin >> n >> m…… 题解列表 2024年01月01日 0 点赞 0 评论 585 浏览 评分:9.9
清晰简洁(看我的) 摘要:解题思路:找每行最大值,然后判断是否为该列最小值,若不符合该列最小,则直接pass,找下一行最大值注意事项:参考代码:#include<iostream> using namespace std; …… 题解列表 2024年01月01日 0 点赞 0 评论 578 浏览 评分:9.9
常规解法,易懂 解题思路:外循环控制消减次数,依照题目行与列依次寻找最小值,再相减,之后去除第二行第二列,控制外循环的变量自减注意事项:相减后的值仍然是非负整数(若这个值小于零,直接赋值0即可),程序结束前需要多输出一次位于第二行第二列的元素的值。参考代码:#includeusingnamespa 题解列表 2024年01月01日 0 点赞 0 评论 605 浏览 评分:9.9
2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin >>a; i…… 题解列表 2023年12月31日 0 点赞 0 评论 408 浏览 评分:9.9
编写题解 2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a=…… 题解列表 2023年12月31日 0 点赞 0 评论 429 浏览 评分:9.9