| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 51232 | 张思存 | [在线测评解答教程] 求和 | C++ | Compile Error | 0 MS | 0 KB | 210 | 2024-09-20 15:36:10 |
#include<bits/stdc++.h> using namespace std; int main() { int a; for (int i = m;i>=n;i-=2){ cin >> a; cout << n*(n+1)/2; } cin >> a; cout << n*(n+1)/2; return 0; }