Problem nostatement
User IWKR
Submission Time 2023-01-03 16:50:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nostatement.cpp: In function ‘int main()’:
nostatement.cpp:37:12: error: incomplete type ‘std::ios_base’ used in nested name specifier
37 | ios_base::sync_with_stdio(false);
| ^~~~~~~~~~~~~~~
nostatement.cpp:38:2: error: ‘cin’ was not declared in this scope
38 | cin.tie(NULL);
| ^~~
nostatement.cpp:7:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
6 | #include <cstdlib>
+++ |+#include <iostream>
7 | using namespace std;
nostatement.cpp:39:2: error: ‘cout’ was not declared in this scope
39 | cout.tie(NULL);
| ^~~~
nostatement.cpp:39:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?