| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130968 | 杨启宏 | [在线测评解答教程] 求和 | C++ | Compile Error | 0 MS | 0 KB | 257 | 2025-09-20 15:08:34 |
# 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;
Main.cc: In function 'int main()':
Main.cc:13:26: error: expected '}' at end of input
cout<