Problem card
User JoshuaPyh
Submission Time 2024-01-24 09:56:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:11:10: error: ‘iota’ is not a member of ‘std’
11 | std::iota(x.begin(), x.end(), 0);
| ^~~~
card.cpp:16:18: error: ‘rotate’ is not a member of ‘std’
16 | std::rotate(x.begin(), x.begin() + 1, x.end());
| ^~~~~~
card.cpp:18:18: error: ‘rotate’ is not a member of ‘std’
18 | std::rotate(x.begin(), x.begin() + 2, x.end());
| ^~~~~~