| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65481 | 李志奇 | 07判断奇数 | C++ | Compile Error | 0 MS | 0 KB | 156 | 2024-01-26 10:55:10 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin >>a; if(a %2=0){ cout << "YES"; }else{ cout <<"NO"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:9: error: lvalue required as left operand of assignment
if(a %2=0){
^