{
int a,b,i,c[1002],m,n; scanf("%d",&m); for(n=1;n<=m;n++) {scanf("%d",&a); b=0;
for(i=0;i<a;i++) {scanf("%d",&c[i]); b=b+c[i];}
printf("%d\n",b);} return 0;
}
山东科技大学ojt题之Seq... 3页 免费山东科技大学...Sum Problem (III) : Input/Output Pratice Time Limit: 1 Sec Memory Limit...
山东科技大学ojt题之Sum Problem 隐藏>> Sum Problem Time Limit: 1 Sec Memory Limit: 2 MB Submit: 788 Solved: 395 [Submit][Status][Web Board] ...
山东科技大学ojt题之Sum Problem (IV) 隐藏>> Sum Problem (IV) : Input/Output Pratice Time Limit: 1 Sec Memory Limit: 2 MB Submit: 606 Solved: ...
山东科技大学ojt题之A+B Problem (IV)_工学_高等教育_教育专区。A+B ... 山东科技大学ojt题之Sum... 暂无评价 2页 免费 山东科技大学ojt题之Seq......
免费 山东科技大学ojt题之Sum P... 暂无评价 2页 免费喜欢此文档的还喜欢... Sequence Problem (II) : Array Pratice Time Limit: 1 Sec Memory Limit: ...
山东科技大学ojt题之A+B Problem_工学_高等教育_教育专区。A+B Problem Time... 山东科技大学ojt题之Sum... 暂无评价 2页 免费 山东科技大学ojt题之Seq......
免费 山东科技大学ojt题之Sum P... 暂无评价 2页 免费喜欢此文档的还喜欢... Matrix Problem (II) : Array Pratice Time Limit: 1 Sec Memory Limit: 4...
山东科技大学ojt题之Sum... 暂无评价 2页 免费 山东科技大学ojt题之Seq......A+B Problem (III) : Input/Output Pratice Time Limit: 1 Sec Memory ...
免费 山东科技大学ojt题之Sum P... 暂无评价 2页 免费喜欢此文档的还喜欢... Sequence Problem : Array Pratice Time Limit: 1 Sec Memory Limit: 4 MB ...
sum=0; scanf("%llu",&n); sum=n+n*(n-1)/2; printf("%llu",sum... 山东科技大学ojt题之平均... 山东科技大学ojt题之摄氏... 山东科技大学ojt题...
热门文档