| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65956 | 李雨昊 | 2020 | C++ | Compile Error | 0 MS | 0 KB | 187 | 2024-02-24 13:02:37 |
#include<iostream> #include<cstdio> using namespace std; int main() { int a; cin>>a; if (()a-2020)%101==0){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:11:7: error: expected primary-expression before ')' token
if (()a-2020)%101==0){
^
Main.cc:11:8: error: expected ')' before 'a'
if (()a-2020)%101==0){
^
Main.cc:11:15: error: expected primary-expression before '%' token
if (()a-2020)%101==0){
^