Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132142 W123212456 [在线测评解答教程] 求和 C++ Wrong Answer 1 MS 268 KB 189 2025-10-06 19:32:17

Tests(1/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,s=0,t=0; cin>>a>>b; for(int i=1;i<=a;i++){ s+=i; } for(int j=1;j<=b;j++){ t+=j; } cout<<s<<endl<<t; }


Run Info:

------Input------
887 778 916
------Answer-----
393828 303031 419986
------Your output-----
393828 303031