Breaking Escape
CodeChefOpen on judge ↗
Gustavo Gus has to eliminate one of his drug chemist for some trust issues. So he comes up with an idea to play a game of Pick and Drop. In this game there is an array of integers $A$ of size $N$ and each player ($Mr. White$ and $Gale Boetticher$) removes one number from the array in alternate turns until only one number is left. If the number left is even then Mr. White wins otherwise Gale wins
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start