题解列表

筛选

The 3n+1 problem

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>using namespace std;long long len(long long n)……

[编程入门]阶乘求和

摘要:解题思路:注意事项:参考代码:n = int(input())a = 0jiecheng = 1l = 0for i in range(1, n+1):    a += 1    jiecheng *……