Problem integer
User hellothisisme
Submission Time 2026-04-01 10:26:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

integer.cpp: In function ‘void printInteger()’:
integer.cpp:4:2: error: ‘ios_base’ has not been declared
4 | ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
| ^~~~~~~~
integer.cpp:4:31: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
| ^~~
| std::cin
In file included from integer.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
integer.cpp:4:45: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
4 | ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
| ^~~~
| std::cout
In file included from integer.cpp:1:
/usr/in