题解 1147: C语言训练-角谷猜想

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

筛选

C语言训练-角谷猜想

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std; int main(){    int N;    cin >> N;     while ……

题解 1147: C语言训练-角谷猜想

摘要:解题思路:没什么难想的。注意事项:在写判断奇数时要再写个不等于1,不然会无限重复。参考代码:#include <bits/stdc++.h>using namespace std;int main()……

1147: C语言训练-角谷猜想

摘要:解题思路:注意事项:此题需要把算式写出来参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n;    ……