| Problem | field |
|---|---|
| User | popperoni |
| Submission Time | 2025-02-14 18:15:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
field.cpp: In function ‘int main()’:
field.cpp:44:22: error: no match for ‘operator*’ (operand types are ‘std::pair<int, int>’ and ‘int’)
44 | #define mp(x,y) x + y*850
| ^~~~
| |
| int
......
80 | pq.push(mp(0,make_pair(0,0)));
| ~~~~~~~~~~~~~~
| |
| std::pair<int, int>
field.cpp:80:10: note: in expansion of macro ‘mp’
80 | pq.push(mp(0,make_pair(0,0)));
| ^~
In file included from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from field.cpp:1:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
391 | operator*(const complex&l