| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 120343 | 张修睿 | 07判断奇数 | C++ | Compile Error | 0 MS | 0 KB | 158 | 2025-05-25 13:30:12 |
#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if (n%2==0){ cout<<"No"; } else cout<<"Yes"; } return 0;
Main.cc: In function 'int main()':
Main.cc:6:6: error: 'n' was not declared in this scope
if (n%2==0){
^
Main.cc: At global scope:
Main.cc:11:2: error: expected unqualified-id before 'return'
return 0;
^