Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99141 | 杨政翰 | 08判断区间 | C++ | Compile Error | 0 MS | 0 KB | 257 | 2024-11-24 14:07:57 |
#include<iostream> using namespace std; int main() { inta,x,y; cin >>a>>x>>y; if(a>=x) { if(a>=y) cout<<"yes"<<endl; else cout<<"no"<<endl; } else cout<<"no"<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:5:5: error: 'inta' was not declared in this scope inta,x,y; ^ Main.cc:5:10: error: 'x' was not declared in this scope inta,x,y; ^ Main.cc:5:12: error: 'y' was not declared in this scope inta,x,y; ^ Main.cc:6:11: error: 'a' was not declared in this scope cin >>a>>x>>y; ^