题解列表

筛选

函数的调用666

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int happy(int n){         int nn=n,num=0,sum=0,i;         while(nn>……

明明的随机数--C/C++两版

摘要:解题思路:                肯定是先排序再去重了!!!先使用快速排序法或者冒泡排序法进行排序,排序没有什么难度,如果不懂排序的可以看看我之前写的排序法(带模板的啊)。          ……

素数回文文回数素

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n){         int i;         for(i=2;i*i<=n;i++)        ……

哥德巴赫曾猜测

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n){         int i;         for(i=2;i*i<=n;i++)        ……

1169: 绝对值排序

摘要:```cpp #include #include #define INT_MAX 2147483647 using namespace std; int main() { int……

1170: 能量项链

摘要:```cpp #include #include using namespace std; const int M=205; int a[M][M],b[M]; int main() {……

1168: 简单计算

摘要:```cpp #include #include using namespace std; int n; double a[3000],c[3000]; int main() { ……