Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123233 周民苡 07判断奇数 C++ Compile Error 0 MS 0 KB 152 2025-06-28 14:49:56

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int a; cin>>a; if(a/2=1){ cout<<"yes"; } else{ cout<<"No"; } return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:7: error: lvalue required as left operand of assignment
 if(a/2=1){
       ^
Main.cc:13:9: error: expected '}' at end of input
 return 0;
         ^