Problem card
User joxi
Submission Time 2023-08-12 18:47:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:4:5: error: ‘string’ was not declared in this scope
4 | string moves;
| ^~~~~~
card.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> m >> k >> moves;
| ^~~
card.cpp:5:22: error: ‘moves’ was not declared in this scope
5 | cin >> m >> k >> moves;
| ^~~~~
card.cpp:7:5: error: ‘deque’ was not declared in this scope
7 | deque<int> d;
| ^~~~~
card.cpp:7:11: error: expected primary-expression before ‘int’
7 | deque<int> d;
| ^~~
card.cpp:10:7: error: ‘d’ was not declared in this scope
10 | d.push_back(i);
| ^
card.cpp:19:20: error: ‘d’ was not declared in this scope
19 | int card = d.front();
| ^
card.cpp:25:20: error: ‘d’ was not declared in this scope