0
0
陈家傲
新手光能
新手光能
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- using namespace std;
- long long sum,cnt;
- int main(){
- int n;
- cin>>n;
- if(自己想){
- cout<<"End";
- return 0;
- }
- while(自己想){
- if(自己想){
- cout<<n<<"/2="<<n/2<<endl;
- n=n/2;
- }
- else if(自己想){
- cout<<n<<"*3+1="<<n*3+1<<endl;
- n=n*3+1;
- }
- }
- cout<<"End";
- return 0;
- }
0