题解列表

筛选

新手必看,俩for解决

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() {    int n,i,j,h,l; scanf("%d",&n); int a[n][n]; for(i=0;……

c语言 30306:树的存储

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define MAX_N 10000// 邻接表节点结构体typedef struct Nod……

通用的思维写出的

摘要:解题思路:注意事项:参考代码: 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 ……