Logo 刘卓成的博客

博客

2677

2023-01-18 14:01:40 By 刘卓成

include

using namespace std; int main(){ int n; cin>>n; cout<<n<<endl; int o=n; while(n<5000){ n*=2; cout<<n<<endl; } while(o<n){ cout<<n<<endl; n/=2; } cout<<n<<endl; return 0; }

评论

Andy0815
(前面的呢???)include(后面的呢???) using namespace std; int main(){ int n; cin>>n; cout<<n<<endl; int o=n; while(n<5000){ n*=2; cout<<n<<endl; } while(o<n){ cout<<n<<endl; n/=2; } cout<<n<<endl; return 0; }

发表评论

可以用@mike来提到mike这个用户,mike会被高亮显示。如果你真的想打“@”这个字符,请用“@@”。