| Problem | ssq |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-11-11 14:47:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ssq.cpp: In member function ‘std::vector<int> node::qry(int, int, int)’:
ssq.cpp:32:51: error: could not convert ‘((0, std::allocator<int>()), (operator new(24), (<statement>, ((std::vector<int>*)<anonymous>))))’ from ‘std::vector<int>*’ to ‘std::vector<int>’
32 | if (l>e||r<s) return new vector<int>(26, 0);
| ^
| |
| std::vector<int>*
ssq.cpp:38:20: error: could not convert ‘total’ from ‘int’ to ‘std::vector<int>’
38 | return total;
| ^~~~~
| |
| int
ssq.cpp:44:16: error: could not convert ‘sum’ from ‘int’ to ‘std::vector<int>’
44 | return sum;
| ^~~
| |