Problem card
User Daddy
Submission Time 2023-11-15 13:20:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘void shuffleDeck(std::vector<int>&, char)’:
card.cpp:9:9: error: ‘rotate’ was not declared in this scope
9 | rotate(deck.begin(), deck.begin() + 1, deck.end());
| ^~~~~~
card.cpp:11:9: error: ‘rotate’ was not declared in this scope
11 | rotate(deck.begin(), deck.begin() + 2, deck.end());
| ^~~~~~