Problem duckhunt12
User MCSG
Submission Time 2025-06-17 10:38:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:10:12: error: ‘n’ was not declared in this scope
10 | if (a=n) or(a=1){
| ^
duckhunt12.cpp:10:15: error: expected primary-expression before ‘or’ token
10 | if (a=n) or(a=1){
| ^~
duckhunt12.cpp:25:12: error: ‘n’ was not declared in this scope
25 | if (b=n) or(b=1){
| ^
duckhunt12.cpp:25:15: error: expected primary-expression before ‘or’ token
25 | if (b=n) or(b=1){
| ^~