依次处理单个字符即可 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; int main() { …… 题解列表 2024年01月01日 2 点赞 0 评论 794 浏览 评分:9.9
遍历矩阵,行号和列号来决定是不是边缘元素 摘要:参考代码:#include<iostream> using namespace std; int main() { int n, m; cin >> n >> m…… 题解列表 2024年01月01日 0 点赞 0 评论 411 浏览 评分:9.9
清晰简洁(看我的) 摘要:解题思路:找每行最大值,然后判断是否为该列最小值,若不符合该列最小,则直接pass,找下一行最大值注意事项:参考代码:#include<iostream> using namespace std; …… 题解列表 2024年01月01日 0 点赞 0 评论 408 浏览 评分:9.9
常规解法,易懂 摘要:解题思路:外循环控制消减次数,依照题目行与列依次寻找最小值,再相减,之后去除第二行第二列,控制外循环的变量自减注意事项:相减后的值仍然是非负整数(若这个值小于零,直接赋值0即可),程序结束前需要多输出…… 题解列表 2024年01月01日 0 点赞 0 评论 402 浏览 评分:9.9
2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin >>a; i…… 题解列表 2023年12月31日 0 点赞 0 评论 254 浏览 评分:9.9
编写题解 2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a=…… 题解列表 2023年12月31日 0 点赞 0 评论 276 浏览 评分:9.9
编写题解 1783: 星期判断机 摘要:解题思路:注意事项:单词不要拼错!!!!!!!!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年12月31日 0 点赞 0 评论 320 浏览 评分:9.9
2792: 三角形判断 摘要:解题思路:注意事项:三角形两边之和大于第三边参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >…… 题解列表 2023年12月31日 0 点赞 0 评论 434 浏览 评分:9.9
编写题解 2792: 三角形判断 摘要:解题思路:两边之和大于第三边注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin…… 题解列表 2023年12月31日 0 点赞 0 评论 296 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:是大写不是小写参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b…… 题解列表 2023年12月31日 0 点赞 0 评论 308 浏览 评分:0.0