Problem lazy_robot
User StormyGood
Submission Time 2025-10-16 12:04:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lazy_robot.cpp: In function ‘int main()’:
lazy_robot.cpp:8:2: error: expected ‘,’ or ‘;’ before ‘char’
8 | char c = a[b-1];
| ^~~~
lazy_robot.cpp:9:6: error: ‘c’ was not declared in this scope
9 | if (c == '1' || c == '3' || c == '5' || c == '7' || c == '9') cout<<"Odd";
| ^