Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136071 赵天睿 07比较大小 C++ Compile Error 0 MS 0 KB 284 2025-11-09 11:51:43

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; if(a>b) cout<<"a"; else cout<<"b"; return 0; } #include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; if(a>b) cout<<"a"; else cout<<"b"; return 0; }


Run Info:

Main.cc:12:3: error: stray '#' in program
 } #include
   ^
Main.cc:12:4: error: 'include' does not name a type
 } #include
    ^
Main.cc: In function 'int main()':
Main.cc:14:5: error: redefinition of 'int main()'
 int main()
     ^
Main.cc:3:5: note: 'int main()' previously defined here
 int main()
     ^