Problem | grassplant |
---|---|
User | Tyx2019 |
Submission Time | 2024-05-16 20:00:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
grassplant.cpp: In function ‘int main()’:
grassplant.cpp:194:49: error: no matching function for call to ‘node::range_sum(long long int&)’
194 | cout << seggs->range_sum(preorder[A]) << '\n';
| ^
grassplant.cpp:72:8: note: candidate: ‘long long int node::range_sum(long long int, long long int)’
72 | ll range_sum(int x, int y) {
| ^~~~~~~~~
grassplant.cpp:72:8: note: candidate expects 2 arguments, 1 provided