Problem stagegames_part2
User lastPledge
Submission Time 2024-01-20 02:11:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stagegames_part2.cpp: In function ‘void play2(int)’:
stagegames_part2.cpp:14:17: error: ‘swap’ was not declared in this scope
14 | swap(ask[0], ask[i]);
| ^~~~
stagegames_part2.cpp:20:23: error: ‘min_element’ was not declared in this scope
20 | int offset = *min_element(a, a + N);
| ^~~~~~~~~~~