Problem | penguinfood |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-10-22 13:58:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
penguinfood.cpp: In member function ‘std::vector<long long int> node::qry(long long int, long long int)’:
penguinfood.cpp:97:23: error: cannot bind non-const lvalue reference of type ‘std::vector<long long int>&’ to an rvalue of type ‘std::vector<long long int>’
97 | return comb(l->qry(S, E), r->qry(S, E));
| ~~~~~~^~~~~~
penguinfood.cpp:64:33: note: initializing argument 1 of ‘std::vector<long long int> node::comb(std::vector<long long int>&, std::vector<long long int>&)’
64 | vector<int> comb(vector<int> &a, vector<int> &b) {
| ~~~~~~~~~~~~~^