Problem | cyberland_apio23 |
---|---|
User | back2square1 |
Submission Time | 2023-11-30 16:46:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cyberland_apio23.cpp: In function ‘double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
cyberland_apio23.cpp:9:40: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::pair<double, int>’)
9 | #define printnm(_a) std::cout<<#_a<<' '<<_a<<'\n'
| ~~~~~~~~~~~~~~~~~~~^~
| |
| std::basic_ostream<char>
......
41 | printnm(a);
| ~
| |
| std::pair<double, int>
cyberland_apio23.cpp:41:3: note: in expansion of macro ‘printnm’
41 | printnm(a);
| ^~~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/