21FA - 08 Peaceful Poles
CodeChefOpen on judge ↗
Polly the Penguin has formally declared the South Pole as the superior pole. Paul the Polar Bear hears this and declares a war with the penguins of the South Pole. After five minutes of intense battle, the polar bears and penguins have grown weary of the fighting. After signing a peace treaty, Polly and Paul decide to play a cooperative game to celebrate, using the letters in the peace treaty.
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