| Problem | duckhunt17 |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-18 09:56:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt17.cpp: In function ‘int main()’:
duckhunt17.cpp:38:27: error: invalid use of non-static member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’
38 | outs.push_back(target.size);
| ~~~~~~~^~~~
In file included from /usr/include/c++/9/vector:67,
from duckhunt17.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:915:7: note: declared here
915 | size() const _GLIBCXX_NOEXCEPT
| ^~~~