| Problem | segmenttree |
|---|---|
| User | jmuzhen |
| Submission Time | 2026-01-27 21:11:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:73:24: error: no matching function for call to ‘SqrtDecomp<OpMin>::SqrtDecomp(std::vector<int>&)’
73 | SqrtDecomp<OpMin> sd(a);
| ^
segmenttree.cpp:15:5: note: candidate: ‘SqrtDecomp<Op>::SqrtDecomp(std::vector<typename Op::V>&&, int) [with Op = OpMin; typename Op::V = long long int]’
15 | SqrtDecomp(std::vector<V>&& v, int blockSize=0) { build(std::move(v), blockSize); }
| ^~~~~~~~~~
segmenttree.cpp:15:33: note: no known conversion for argument 1 from ‘std::vector<int>’ to ‘std::vector<long long int, std::allocator<long long int> >&&’
15 | SqrtDecomp(std::vector<V>&& v, int blockSize=0) { build(std::move(v), blockSize); }
| ~~~~~~~~~~~~~~~~~^
segmenttree.cpp:14:5: note: candidate: ‘SqrtDecomp<Op>::SqrtDecomp(const std::vector<typename Op::V>&, int)