Problem | duckhunt8 |
---|---|
User | ansel |
Submission Time | 2024-12-30 16:50:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt8.cpp:3:1: error: expected initializer before ‘using’
3 | using namespace std;
| ^~~~~
duckhunt8.cpp: In function ‘int main()’:
duckhunt8.cpp:5:5: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
duckhunt8.cpp:6:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin.tie(0);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from duckhunt8.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
duckhunt8.cpp:8:5: error: ‘deque’ was not declared in this scope
8 | deque<int>A;
| ^~~~~
duckhunt8.cpp:8:5: note: suggested alternatives:
In file included from /usr/include/c++/9/deque:67,
from /usr/include/