Problem duckhunt5
User ye
Submission Time 2025-06-18 16:46:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:7:2: error: expected initializer before ‘for’
7 | for (int i = 0;i<Q; i++){
| ^~~
duckhunt5.cpp:7:17: error: ‘i’ was not declared in this scope
7 | for (int i = 0;i<Q; i++){
| ^