题解列表

筛选

通用的思维写出的

摘要:解题思路:注意事项:参考代码: public class Test {     public static void main(String[] args) {         Scanner ……

超级简单,用了循环和字符串函数,

摘要:解题思路:只要不是空格,就直接加,不用考虑字符是字母还是数字。注意事项:使用标记变量处理逗号问题。参考代码:#include <stdio.h>#include <string.h>int main(……

大神老白1390/////////

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int gys(int a,int b){ if (a==b) { return a; } else ……

3041: 最大子矩阵 应该能看懂吧

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量n和三个二维数组a, b, c,以及答案变量ans in……

使用函数易理解

摘要:解题思路:注意事项:由题可知大写变小写,加32即可,在注意下字符数组的输入输出参考代码:#include <stdio.h>#include <string.h>void fun(char a[]){……