Problem cyberland_apio23
User back2square1
Submission Time 2023-11-30 16:46:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:21: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
9 | #define printnm(_a) cout<<#_a<<' '<<_a<<'\n'
| ^~~~
cyberland_apio23.cpp:40:3: note: in expansion of macro ‘printnm’
40 | printnm(d);
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from cyberland_apio23.cpp:2:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~