| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71153 | 张之隽 | 08判断区间 | C++ | Compile Error | 0 MS | 0 KB | 206 | 2024-04-21 14:08:50 |
#include <bits/stdc++.h> 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"; return 0; }
Main.cc:12:3: error: expected unqualified-id before 'else'
}else{
^
Main.cc:13:5: error: 'cout' does not name a type
}cout<<"no";
^
Main.cc:14:2: error: expected unqualified-id before 'return'
return 0;
^
Main.cc:15:1: error: expected declaration before '}' token
}
^