Problem | sherlockinversions |
---|---|
User | JoshJuice |
Submission Time | 2025-09-18 14:18:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sherlockinversions.cpp: In lambda function:
sherlockinversions.cpp:37:19: error: no match for ‘operator/’ (operand types are ‘int’ and ‘Query’)
37 | int ba=A.l/B, bb=B.l/B;
| ~~~^~
| | |
| | Query
| 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 sherlockinversions.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>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:421:5: note: template argument deduction/substitution failed:
sherlockinversions.cpp:37:20: note: mismatched types ‘const std::complex<_Tp>’ and ‘int’