Problem cycle_ioi19
User hellothisisme
Submission Time 2026-03-04 16:06:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cycle_ioi19.cpp: In function ‘void escape(int)’:
cycle_ioi19.cpp:22:9: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
22 | cout << m << endl;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from cycle_ioi19.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
cycle_ioi19.cpp:22:22: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
22 | cout << m << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,