Problem | adventure |
---|---|
User | kesleryak |
Submission Time | 2024-07-05 20:11:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adventure.cpp: In function ‘int main()’:
adventure.cpp:9:7: error: incomplete type ‘std::ios’ {aka ‘std::basic_ios<char>’} used in nested name specifier
9 | ios::sync_with_stdio(0);
| ^~~~~~~~~~~~~~~
adventure.cpp:10:2: error: ‘cin’ was not declared in this scope
10 | cin.tie(0);
| ^~~
adventure.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <climits>
+++ |+#include <iostream>
3 | using namespace std;
adventure.cpp:11:2: error: ‘cout’ was not declared in this scope
11 | cout.tie(0);
| ^~~~
adventure.cpp:11:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
adventure.cpp:17:20: error: ‘endl’ was not declared in this scope
17 | cout << -1 << endl;
| ^~~~
adventure.cpp:3:1: note: ‘std::endl