Problem littlejohnny4
User DaPeter
Submission Time 2025-12-15 10:54:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

littlejohnny4.cpp: In function ‘int main()’:
littlejohnny4.cpp:4:5: error: ‘ios’ has not been declared
4 | ios::sync_with_stdio(false);
| ^~~
littlejohnny4.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin.tie(0);
| ^~~
littlejohnny4.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
littlejohnny4.cpp:6:5: error: ‘cout’ was not declared in this scope
6 | cout.tie(0);
| ^~~~
littlejohnny4.cpp:6:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?