Problem1076--规律循环-练习二

1076: 规律循环-练习二

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 504  Solved: 373
[Status] [Submit] [Creator:]

Description

请将以下程序归纳成循环结构
int n;
cin>>n;
cout<<n/2<<“ ”;
cout<<n/4<<“ ”;
cout<<n/6<<“ ”;

cout<<n/20<<“ ”;

Sample Input Copy

840

Sample Output Copy

420 210 140 105 84 70 60 52 46 42

Source/Category

 入门