| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130969 | 杨启宏 | [在线测评解答教程] 求和 | C++ | Wrong Answer | 1 MS | 280 KB | 253 | 2025-09-20 15:09:24 |
# include<iostream> # include<cstring> # include<cmath> using namespace std; int main() { int a,b,maxa=0,maxb=0; cin>>a>>b; for(int i=1;i<=a;i++) maxa+=i; for(int i=1;i<=b;i++) maxb+=i; cout<<maxa<<endl<<maxb; }
------Input------
887 778 916
------Answer-----
393828 303031 419986
------Your output-----
393828 303031