题解列表

筛选

自定义函数之字符串连接

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char str1[10],str2[10];scanf("%s",str1);scanf("%s",str2);……

太细了!!老六

摘要:解题思路:注意事项:参考代码:#include<stdio.h> double sum(int x,int y); int main() {  int a,b;  scanf("%d%d",……

成绩排序!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct student{ char name[101]; int x; int y;};int……

[编程入门]选择排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[10]; int secm(int x[],int y); for(……

绝对值排序 入门级

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; while(~scanf("%d",&n)){//写全 或者写为s……

有错误请指出

摘要:解题思路:提前将收入定义为浮点型,方便后面计算注意事项:参考代码:#include <stdio.h>int main(){ int r,y; float m; scanf("%d %f %d",&r……

统计数字字符个数(简单法,同时富含知识讲解)

首先我们要知道一个非常重要的一个头文件,那就是ctype这个,因为这个可以用来统计我们像空格,字母,以及数字,还有我们其他的字符,所以这可以极大的缩短我们的用时,也可以降低我们的时间成本,因此我们现在看一下源码。另外本题目只是让我们统计数字,