| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142566 | 徐毅然 | [在线测评解答教程] 求和 | C++ | Wrong Answer | 0 MS | 272 KB | 214 | 2026-01-11 14:23:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c=0,d=0; cin>>a>>b; for(int i=1;i<=a;i++) c+=i; for(int i=1;i<=b;i++) d+=i; cout<<c<<endl<<d; return 0; }
------Input------
887 778 916
------Answer-----
393828 303031 419986
------Your output-----
393828 303031