Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137672 孔声豪 08判断区间 C++ Compile Error 0 MS 0 KB 621 2025-11-22 11:09:00

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,x,y; cin>>a>>x>>y; if(y>=a){ if(x<=a){ cout<<"yes"<<endl; } } #include<bits/stdc++.h> using namespace std; int main(){ int a,x,y; cin>>a>>x>>y; if(y>=a){ if(x<=a){ cout<<"yes"<<endl; }#include<bits/stdc++.h> using namespace std; int main(){ int a,x,y; cin>>a>>x>>y; if(y>=a){ if(x<=a){ cout<<"yes"<<endl; } } else { cout<<"no"<<endl; } else { cout<<"no"<<endl; } return 0; } } else { cout<<"no"<<endl; } return 0; } else { cout<<"no"<<endl; } return 0; }


Run Info:

Main.cc:19:3: error: stray '#' in program
  }#include
   ^
Main.cc: In function 'int main()':
Main.cc:13:12: error: a function-definition is not allowed here before '{' token
  int main(){
            ^
Main.cc:47:2: error: expected '}' at end of input
  } 
  ^