Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66020 何冠宇 08判断区间 C++ Compile Error 0 MS 0 KB 198 2024-03-02 10:47:22

Tests(0/0):


Code:

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


Run Info:

Main.cc:13:3: error: expected unqualified-id before 'else'
  }else{
   ^
Main.cc:15:2: error: expected unqualified-id before 'return'
  return 0;
  ^
Main.cc:16:1: error: expected declaration before '}' token
 }
 ^