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

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; } } else { cout<<"no"<<endl; } else { cout<<"no"<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:14:1: error: 'else' without a previous 'if'
 else {
 ^