Problem card
User ansel
Submission Time 2024-05-21 11:14:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:3:14: error: ‘cin’ was not declared in this scope
3 | int m,k; cin>>m>>k;
| ^~~
card.cpp:4:5: error: ‘deque’ was not declared in this scope
4 | deque<int>cards;
| ^~~~~
card.cpp:4:11: error: expected primary-expression before ‘int’
4 | deque<int>cards;
| ^~~
card.cpp:6:9: error: ‘cards’ was not declared in this scope
6 | cards.push_back(i);
| ^~~~~
card.cpp:8:5: error: ‘string’ was not declared in this scope
8 | string shuffle; cin>>shuffle;
| ^~~~~~
card.cpp:8:26: error: ‘shuffle’ was not declared in this scope
8 | string shuffle; cin>>shuffle;
| ^~~~~~~
card.cpp:11:13: error: ‘cards’ was not declared in this scope
11 | cards.push_back(cards[0]);
| ^~~~~
card