标签:hang each 数据 clu ase inpu java mem cal
Time Limit: 1000/500 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 469658 Accepted Submission(s): 118388
# include <stdio.h> int main () { int sum,n; while(scanf("%d",&n)!=EOF) { sum=0; for(int i=1;i<=n;i++) { sum+=i; } printf("%d\n\n",sum); } }
标签:hang each 数据 clu ase inpu java mem cal
原文地址:http://www.cnblogs.com/love-sherry/p/6744969.html