题解列表

筛选

超级楼梯 (C语言代码)思路明确

摘要:解题思路:  一看到这题应该是递归的,我的思路是一步一步的走完的可能的没有算的,所以走一步,是一种方法,走两步也是一种情况,三步就相当于你走了两步,现在在多走一步,加上,你只走了一步,还差两步,的情况……

数学的图表 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){   int a,b;   int n;   int i;   int count;   while(~scan……

素数回文 (C语言代码)

摘要:解题思路:用两个函数,一个判断素数,一个判断回文数;注意事项: 不用long long 也行;参考代码:#include<stdio.h>int isPrime(int n){    if (n==0……

K-进制数 (C++代码)

摘要:解题思路:使用深度    注意事项:注意不能超过范围参考代码:#include <algorithm>#include <iostream>#include <math.h>using namespa……