题解 1095: The 3n + 1 problem

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1095: The 3n + 1 problem

摘要:```cpp #include #include using namespace std; int fun(int num) { int count=1; while(n……

The 3n + 1 problem

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int a,b; int i = 0; int x; while (scan……

这题的有问题

摘要:#include<stdio.h> int ans(int n); int main(void) {     int to, from, temp;     int i, j;     i……