Problem | dquery |
---|---|
User | Pan |
Submission Time | 2023-11-13 17:21:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dquery.cpp: In function ‘bool compare(std::pair<long long int, std::pair<long long int, long long int> >, std::pair<long long int, std::pair<long long int, long long int> >)’:
dquery.cpp:12:18: error: no match for ‘operator/’ (operand types are ‘std::pair<long long int, long long int>’ and ‘ll’ {aka ‘long long int’})
12 | return a.second/siz<b.second/siz;
| ~~~~~~~~^~~~
| | |
| | ll {aka long long int}
| std::pair<long long int, long long int>
dquery.cpp:12:31: error: no match for ‘operator/’ (operand types are ‘std::pair<long long int, long long int>’ and ‘ll’ {aka ‘long long int’})
12 | return a.second/siz<b.second/siz;
| ~~~~~~~~^~~~
| | |
| | ll {aka long long int}
| std::pair<long long