Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132857 颜学俊逸 字符串相等判断 C++ Compile Error 0 MS 0 KB 489 2025-10-12 14:21:55

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:16:5: error: redefinition of 'int main()'
 int main(){
     ^
Main.cc:3:5: note: 'int main()' previously defined here
 int main(){
     ^
Main.cc: In function 'int main()':
Main.cc:29:5: error: redefinition of 'int main()'
 int main(){
     ^
Main.cc:3:5: note: 'int main()' previously defined here
 int main(){
     ^