#includevoid main(){int i,t,sum=0;for(t=i=1;i<=10; ){sum+=t;++i;if(i%3= =0) t=-i;else t=i;}cout<

时间:2022-11-17 01:25:40

相似题目