题目挺简单的,记一个结论。对一个数做如下变换,if (x为奇数) x = 3*x+1; else x /= 2。一定会最终变为1。
相关文章
- 10-27project euler做题记录
- 10-27Project Euler 79:Passcode derivation
- 10-27Problem4-Project Euler
- 10-27project euler 62 Cubic permutations
- 10-27project euler 26:Reciprocal cycles
- 10-27Project Euler Problem 10
- 10-27Project Euler 69: Totient maximum
- 10-27project euler 开坑
- 10-27Project Euler problem 62
- 10-27Project Euler 62: Cubic permutations