| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 29765 | 张予馨 | [在线测评解答教程] 求和 | C++ | Wrong Answer | 0 MS | 236 KB | 167 | 2023-11-03 15:19:15 |
#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; int x=a*(a+1)/2; int y=b*(b+1)/2; cout<<x<<endl; cout<<y<<endl; return 0; }