| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 55802 | 许兴平 | [在线测评解答教程] 求和 | C++ | Wrong Answer | 0 MS | 244 KB | 231 | 2024-11-08 15:35:20 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,result=0; cin>>a; for(int i=1;i<=a;i++) result+=i; cin>>a; cout<<result<<" "; result=0; for(int i=1;i<=a;i++) result+=i; cout<<result; return 0; }