Problem1078--规律循环-练习五1078: 规律循环-练习五
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 763 Solved: 523
[Status] [Submit] [Creator:]
Description
请将以下程序归纳成循环结构
int n,sum=0;
cin>>n;
sum=sum+1*19+n;
sum=sum+3*17+n;
sum=sum+5*15+n;
…
sum=sum+19*1+n;
cout<<sum;