题解列表

筛选

简单的递归

摘要:#include<stdio.h> int ans(int n); int main(void) {     int n;     scanf("%d",&n);     printf("……

本蒟蒻来写题解

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<unordered_map>#include<string>#include<climits> // 用于 CHAR……

无敌很寂寞啊

摘要:#include<stdio.h> int main(void) {     int i;     int a, b;     for(i = 1000; i <= 10000; i++)……

这题是真简单啊

摘要:#include<stdio.h> int main(void) {     int n, a, now = 0;     scanf("%d %d", &a, &n);     int i……

两种方法 兔子

摘要:#include<stdio.h> int main(void) {     int a = 1, b = 1, c;     int i, n;     scanf("%d", &n);……

哥德巴赫曾猜测

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n) {    if (n == 1) {        return 0;    }    for (int……

人类思维与机器思维的对比

摘要:解题思路:多学数学吧注意事项:参考代码://尼科彻斯定理 //机器思维 #include<stdio.h> #include<math.h> #include<string.h> void ……

1025:数组插入处理

摘要:解题思路:这题的思路挺简单的哈。咱有个已经按顺序排好的 9 个元素的数组,然后会输入一个数。就从数组开头开始,一个个和输入的数比,要是这数比正在比的元素小,那这就是要插的位置了,把索引记录下来,要是比……

循环遍历各种情形

摘要:#include<stdio.h> #include<stdlib.h> int main(void) {     int a, b, c, d, e, f, num = 0;     in……