Problem | card |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-21 09:57:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:11:2: error: expected initializer before ‘for’
11 | for (int i = 0; i < k; i++) {
| ^~~
card.cpp:11:18: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < k; i++) {
| ^
card.cpp:16:25: error: ‘dq’ was not declared in this scope
16 | int front = dq.front();
| ^~
card.cpp:21:25: error: ‘dq’ was not declared in this scope
21 | int first = dq.front();
| ^~
card.cpp:29:16: error: ‘n’ was not declared in this scope
29 | cout << dq(n - 1) << " " << dq(n) << " " << dq(n + 1)
| ^
card.cpp:29:13: error: ‘dq’ was not declared in this scope
29 | cout << dq(n - 1) << " " << dq(n) << " " << dq(n + 1)
| ^~