Problem | duckhunt13 |
---|---|
User | jh2865 |
Submission Time | 2025-06-18 10:36:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt13.cpp: In function ‘int main()’:
duckhunt13.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> q;
| ^~~
duckhunt13.cpp:4:5: error: ‘deque’ was not declared in this scope
4 | deque<int> dq;
| ^~~~~
duckhunt13.cpp:4:11: error: expected primary-expression before ‘int’
4 | deque<int> dq;
| ^~~
duckhunt13.cpp:5:22: error: expected ‘;’ before ‘<’ token
5 | for (int i = 0, i<q; i++){
| ^
| ;
duckhunt13.cpp:5:22: error: expected primary-expression before ‘<’ token
duckhunt13.cpp:11:13: error: ‘dq’ was not declared in this scope; did you mean ‘q’?
11 | dq.push_back(x);
| ^~
| q