| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 51302 | 张思存 | [在线测评解答教程] 求和 | C++ | Compile Error | 0 MS | 0 KB | 178 | 2024-09-20 19:29:57 |
#include<bits/stdc++.h> using namespace std; int main() { int x; cin >> x; while(scanf("%d",&n)!=EOF){ printf("%d\n",(n+1)*n/2) } return 0; }