题解列表

筛选

输出最高分数的学生姓名

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{    int score;    char name[100];}a[1000];int main(){……

选择排序思想解题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<windows.h>int main(){    int l,m,min;    ……

编写题解 1130: C语言训练-数字母(利用cctype)

摘要:解题思路:我看了一下题解,好像用ctype系列的题解暂时没有。这里就暂且引入一下ctype,操作就稍稍简单一点。ctype.h是C标准函数库中的头文件,定义了一批C语言字符分类函数(C charact……

容易看懂c语言

摘要:解题思路:两个数据有联系,用结构体 ,用冒泡法排序注意事项:交换的中间变量要为相同的结构体类型参考代码:#include<stdio.h>#include<string.h>typedef struc……

数组逆序重放

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

亲和数(二维数组)

摘要:解题思路:利用函数求出所传值的各因子之和注意事项:参考代码:#include<stdio.h>int s(int n){       int sum=0;       for(int i=1;i<n;……

满足条件的数累加

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

整数的个数

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