Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149619 苏钰苗 07判断奇数 C++ Compile Error 0 MS 0 KB 154 2026-03-15 11:14:30

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:10: error: 'o' was not declared in this scope
  if(a%2==o);
          ^
Main.cc:11:2: error: 'else' without a previous 'if'
  else{
  ^