| Problem | card |
|---|---|
| User | Leeyee |
| Submission Time | 2026-02-13 15:58:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:8:14: error: expected ‘;’ before ‘deque’
8 | c.pop_back()
| ^
| ;
9 |
10 | deque<int> d = {};
| ~~~~~
card.cpp:12:3: error: ‘d’ was not declared in this scope
12 | d.push_back(i);
| ^
card.cpp:14:34: error: expected ‘;’ before ‘)’ token
14 | for (int j = 0; j<c.length(),j++)
| ^
| ;
card.cpp:17:8: error: ‘d’ was not declared in this scope
17 | e = d[0];
| ^
card.cpp:21:11: error: ‘j’ was not declared in this scope
21 | elif (c[j] == 'B'){
| ^
card.cpp:21:3: error: ‘elif’ was not declared in this scope
21 | elif (c[j] == 'B'){
| ^~~~
card.cpp: At global scope:
card.cpp:28:2: error: ‘cout’ does not name a type
28 | cout<<d[b-1]<<"