Problem duckhunt42
User JoshJuice
Submission Time 2025-12-26 09:24:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt42.cpp: In function ‘int main()’:
duckhunt42.cpp:23:1: error: ‘vextor’ was not declared in this scope
23 | vextor<bool> ans(n);
| ^~~~~~
duckhunt42.cpp:23:8: error: expected primary-expression before ‘bool’
23 | vextor<bool> ans(n);
| ^~~~
duckhunt42.cpp:25:1: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
25 | ans[0]=1;
| ^~~
| abs