Problem | bacteria |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-18 16:15:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bacteria.cpp: In function ‘std::pair<long long int, long long int> query(long long int, long long int, long long int, long long int, long long int)’:
bacteria.cpp:37:10: error: could not convert ‘0’ from ‘int’ to ‘std::pair<long long int, long long int>’
37 | return 0;
| ^
| |
| int
bacteria.cpp:44:15: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘long long int’ in initialization
44 | int l = query(2*index+1, low, mid, left, right);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::pair<long long int, long long int>
bacteria.cpp:45:15: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘long long int’ in initialization
45 | int r = query(2*index+2, mid+1, high, left, right);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |