| Problem | duckhunt29 |
|---|---|
| User | Hokageoftheleaf |
| Submission Time | 2026-01-17 15:50:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt29.cpp:2:7: error: expected nested-name-specifier before ‘namspace’
2 | using namspace std;
| ^~~~~~~~
duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:8:3: error: ‘vector’ was not declared in this scope
8 | vector<int>p(N);
| ^~~~~~
duckhunt29.cpp:8:3: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from duckhunt29.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from /usr/include/c++/9/functional:62,
from /usr/in