Face Off
CodeChefOpen on judge ↗
In grand line , pirates are the most ferocious and uncivilized creatures. They fight each other to find the most desirable treasure called **ONE PIECE** . You are an admiral in navy and you recently captured some very renowned pirates. These pirates are facing either **EAST** or **WEST**. You know that if they face each other they will cause trouble. You have an array where each element repres
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