Compile Error

foo.cc: In function 'int main()':
foo.cc:7:6: error: 'x' was not declared in this scope
    7 |  if (x%2==0)
      |      ^
foo.cc:9:8: error: 'x' was not declared in this scope
    9 |     if(x%2!=0)
      |        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1013 判断奇偶数
语言
C++
递交时间
2022-07-09 10:31:07
评测时间
2022-07-09 10:31:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes