Problem duckhunt13
User poopyjshdsd
Submission Time 2026-04-04 13:55:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt13.cpp: In function ‘int main()’:
duckhunt13.cpp:20:12: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
20 | if(duck.size == 0){
| ~~~~~^~~~
| ()
duckhunt13.cpp:37:1: error: expected ‘}’ at end of input
37 | }
| ^
duckhunt13.cpp:8:14: note: to match this ‘{’
8 | signed main(){
| ^