Problem card
User highdelao
Submission Time 2023-07-13 20:52:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘std::vector<int> apply_moves(int, int, std::string)’:
card.cpp:17:18: error: ‘rotate’ is not a member of ‘std’
17 | std::rotate(deck.begin(), deck.begin() + 1, deck.end());
| ^~~~~~
card.cpp:20:18: error: ‘rotate’ is not a member of ‘std’
20 | std::rotate(deck.begin(), deck.begin() + 2, deck.end());
| ^~~~~~