Problem collectmushrooms2
User FIips
Submission Time 2025-02-13 10:01:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms2.cpp: In member function ‘std::pair<long long int, long long int> node::qry(long long int, long long int)’:
collectmushrooms2.cpp:39:37: error: could not convert ‘-1’ from ‘int’ to ‘std::pair<long long int, long long int>’
39 | if(left > e || right < s) return -1;
| ^
| |
| int