← All problemsSign in

Forgotten game

You are a brogrammer in 3018 who has found a pen drive. The pen drive contains data of the game which was played to put an end to war between PRIME ministers of two superpowers in 2018. You found 3 numbers in pen drive. Now it is your task to determine winner of the forgotten war by determining result of forgotten game. War results in 3 outcomes Superpower 0 won, Superpower 1 won or draw. Input

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start