Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61267 朱康与 08判断区间 C++ Compile Error 0 MS 0 KB 196 2023-12-03 13:22:19

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:11: error: 'x' was not declared in this scope
   cin>>a>>x>>y;
           ^
Main.cc:5:14: error: 'y' was not declared in this scope
   cin>>a>>x>>y;
              ^
Main.cc:4:9: warning: unused variable 'b' [-Wunused-variable]
   int a,b;
         ^