Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99222 冯瀚翔 08判断区间 C++ Compile Error 0 MS 0 KB 382 2024-11-24 15:23:04

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,x,y; cin>>a>>x>>y; if(a>=X){ if(a<=Y){ cout<<"Yes"; } else{ cout<<"No"; } } else{ cout<<"No"; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:7: error: 'X' was not declared in this scope
 if(a>=X){
       ^
Main.cc:11:7: error: 'Y' was not declared in this scope
 if(a<=Y){
       ^