Problem duckhunt29
User Mimikyu
Submission Time 2026-02-07 18:01:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:4:5: error: ‘vector’ was not declared in this scope
4 | vector<bool> tt;
| ^~~~~~
duckhunt29.cpp:4:12: error: expected primary-expression before ‘bool’
4 | vector<bool> tt;
| ^~~~
duckhunt29.cpp:7:12: error: ‘tt’ was not declared in this scope
7 | if(k==-1)tt.push_back(true);
| ^~
duckhunt29.cpp:8:8: error: ‘tt’ was not declared in this scope
8 | else tt.push_back(false);
| ^~
duckhunt29.cpp:13:6: error: ‘tt’ was not declared in this scope
13 | if(tt[i]){
| ^~