Problem B: 规律循环-练习二训练

Problem B: 规律循环-练习二训练

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 547  Solved: 393
[Status] [Submit] [Creator:]

Description

请将以下程序归纳成循环结构
int n;
cin>>n;
cout<<n/2<<" ";
cout<<n/4<<" ";
cout<<n/6<<" ";
cout<<n/8<<" ";
cout<<n/10<<" ";
cout<<n/12<<" ";
cout<<n/14<<" ";
cout<<n/16<<" ";
cout<<n/18<<" ";
cout<<n/20<<" ";

Sample Input Copy

840

Sample Output Copy

420 210 140 105 84 70 60 52 46 42