题解列表

筛选

阶乘末尾的K位

摘要:解题思路:注意事项:参考代码:#include <stdio.h>long long a[100];int main(){         int n,m,k=0,i;         long lo……

函数的调用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#defineINT_MAX2147483647usingnamespacestd;intmain(){intnums[200],nums_len=0,nums_buff[30],num_len=0,

1170: 能量项链

```cpp#include#includeusingnamespacestd;constintM=205;inta[M][M],b[M];intmain(){intn,sum=0;cin>>n;memset(a,0,sizeof(a));for(inti=1;i>b[i];b[i+n]=b[i];}