题解列表

筛选

The 3n + 1 problem (C++代码)

摘要:解题思路:求最大循环长度注意事项:参考代码:#include <iostream>#include <cstdio>using namespace std;int main(){int m,n;whi……

明明的随机数 (C语言代码)

摘要:解题思路:1.先对一组数进行排序这样相等的数会相邻,例如对样例进行排序,               15 20 20 32 40 40 67 89 300 400               2. ……