Problem | dquery |
---|---|
User | Pan |
Submission Time | 2023-12-02 20:08:46 |
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:13:18: error: no match for ‘operator/’ (operand types are ‘std::pair<long long int, long long int>’ and ‘ll’ {aka ‘long long int’})
13 | return a.second/block<b.second/block;
| ~~~~~~~~^~~~~~
| | |
| | ll {aka long long int}
| std::pair<long long int, long long int>
In file included from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from dquery.cpp:1:
/usr/include/c++/9/complex:421:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator/(const std::complex<_Tp>&, const std::complex<_Tp>&)’
421 | operator/(const complex<_Tp>