题解列表

筛选

1053: 二级C语言-平均值计算

摘要:解题思路:使用数组及for循环注意事项:参考代码:#include<stdio.h>{int a[10];    int sum=0,score=0;    for(int i=0;i<10;i++)……

[编程入门]利润计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x){ int a=100000; if(x<=a) { return 0.1*x; } else if(x<……

编写题解 1394: 永远的丰碑

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main () { int n; while(~scanf ("%d"……

绝对值排序 入门级

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

单词查找树c++(结构体+指针)

摘要:解题思路:用结构体的办法创建一棵树,外加一个全局变量nodes,每新建一个子叶,nodes加一,最后就可以得出总的结点数了注意事项:1.创建指针的时候要分配一个空间,不然程序会出错          ……