Problem trashinteractive
User AlphanumericUsername
Submission Time 2024-03-27 16:20:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trashinteractive.cpp: In function ‘void find_cheese(int, int)’:
trashinteractive.cpp:6:44: error: expected ‘;’ before ‘for’
6 | for(int i=0;i<1000000;i++) ask_politely(1)
| ^
| ;
7 | for(int i=1;i<=1000;++i) for(int j=1;j<=1000;++j) ask_politely(i);
| ~~~
trashinteractive.cpp:7:14: error: ‘i’ was not declared in this scope
7 | for(int i=1;i<=1000;++i) for(int j=1;j<=1000;++j) ask_politely(i);
| ^
trashinteractive.cpp:7:39: error: ‘j’ was not declared in this scope
7 | for(int i=1;i<=1000;++i) for(int j=1;j<=1000;++j) ask_politely(i);
| ^