题解列表

筛选

成绩排序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h>  struct student{      int age;      int scor……

简单的事情 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int m, n, s, i, x; double fz, fm; while (scan……

矩阵转置 (C语言代码)

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

演讲大赛评分 (Java代码)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a……

检查金币 (Java代码)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] ……

做幻方 (C语言代码)

摘要:解题思路: 令第一行中间的数为1,然后按箭头循环,最后倒序输出。               参考代码:#include <stdio.h> int main() { int n, i, j,……

特殊排序 (C语言代码)

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

花落的新手写法(C语言代码)

摘要:解题思路:计算出所有年的牛的数量,然后输出相应年的数据。注意事项:每输入一个数字,就输出一个结果。参考代码:#include<stdio.h>int main(){    int sr[100],sz……

花落的新手写法 (C语言代码)

摘要:解题思路:用二维数组表示出矩阵,然后输出。注意事项:每输入一个n就要输出一个矩阵。参考代码:#include<stdio.h>int main(){ int sz[100][100]; int n,i……