Problem | duckhunt12 |
---|---|
User | Deathaer |
Submission Time | 2025-06-17 12:39:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt12.cpp:7:1: error: ‘pair’ does not name a type
7 | pair<int, int> simulate_move(int current_pos, int current_dir, int N) {
| ^~~~
duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:26:5: error: ‘ios_base’ has not been declared
26 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
duckhunt12.cpp:27:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
27 | cin.tie(NULL);
| ^~~
| std::cin
In file included from duckhunt12.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
duckhunt12.cpp:43:9: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
43 | cout << 0 << endl;
| ^~~~
| std::cout
In file included from duckhunt12.cpp:1:
/usr/include/c++/9/iostream:61:18: note