Problem shuffle
User coinunderscore
Submission Time 2026-04-16 00:01:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shuffle.cpp: In function ‘std::vector<int> sub6(int, int, int)’:
shuffle.cpp:260:9: error: conflicting declaration ‘int head’
260 | int head = ans[0];
| ^~~~
shuffle.cpp:166:25: note: previous declaration as ‘std::vector<int> head’
166 | vector<int> ans(n), head(b);
| ^~~~