| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81715 | 王陈淼 | 07a+b>c | C++ | Compile Error | 0 MS | 0 KB | 154 | 2024-07-12 15:16:42 |
using namespace std; int main() { int a,b,c; cin >> a >> b >> c; if(a+b>c){ cout << "YES"; } else{ cout << "NO"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:1: error: 'cin' was not declared in this scope
cin >> a >> b >> c;
^
Main.cc:8:5: error: 'cout' was not declared in this scope
cout << "YES";
^
Main.cc:11:5: error: 'cout' was not declared in this scope
cout << "NO";
^