Problem collectmushrooms
User Dynonychus
Submission Time 2024-01-10 23:51:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In function ‘void fill(std::deque<long long int>, long long int)’:
collectmushrooms.cpp:13:16: error: no match for ‘operator=’ (operand types are ‘std::vector<std::vector<long long int> >’ and ‘long long int’)
13 | sear[i][0] = i;
| ^
In file included from /usr/include/c++/9/vector:72,
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 collectmushrooms.cpp:1:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]’
198 | vector<_