Problem guards_ex
User NeeNawAmbulance
Submission Time 2023-12-30 21:44:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guards_ex.cpp: In function ‘int32_t main()’:
guards_ex.cpp:29:19: error: ‘ios_base’ has not been declared
29 | #define redbull() ios_base::sync_with_stdio(false);cin.tie(NULL)
| ^~~~~~~~
guards_ex.cpp:41:5: note: in expansion of macro ‘redbull’
41 | redbull();
| ^~~~~~~
guards_ex.cpp:29:52: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
29 | #define redbull() ios_base::sync_with_stdio(false);cin.tie(NULL)
| ^~~
guards_ex.cpp:41:5: note: in expansion of macro ‘redbull’
41 | redbull();
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from guards_ex.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
guards_ex.cpp:47:5: error: ‘cout’