Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71148 刘泽熙 08判断区间 C++ Compile Error 0 MS 0 KB 199 2024-04-21 14:07:29

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y;c; cin>>n>>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:4:12: error: 'c' was not declared in this scope
  int n,x,y;c;
            ^
Main.cc:6:5: error: 'a' was not declared in this scope
  if(a>=x){
     ^