Problem | singlefile |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-16 09:01:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
singlefile.cpp: In function ‘void build(long long int, long long int, long long int)’:
singlefile.cpp:18:186: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type’ {aka ‘std::vector<long long int>’} and ‘std::back_insert_iterator<std::vector<long long int> >’)
18 | segmenttree[index] = merge(segmenttree[2*index+1].begin(), segmenttree[2*index+1].end(), segmenttree[2*index+2].begin(), segmenttree[2*index+2].end(), back_inserter(segmenttree[index]));
| ^
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:1