Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77780 夏梓瑞 [在线测评解答教程] 求和 C++ Compile Error 0 MS 0 KB 269 2024-06-15 13:00:40

Tests(0/0):


Code:

# 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; retuen 0; }


Run Info:

Main.cc:14:4: error: stray '\357' in program
    retuen 0;
    ^
Main.cc:14:4: error: stray '\274' in program
Main.cc:14:4: error: stray '\233' in program
Main.cc: In function 'int main()':
Main.cc:14:4: error: 'retuen' was not declared in this scope