Godzilla vs Kong
CodeChefOpen on judge ↗
Godzilla’s hurting people and as usual the Monarch people don’t know why. The real story is as follows. There is a fact that both Godzilla and Kong win a fight only if they fight an odd number of monsters at a time. Godzilla has fought ‘N+2’ monsters in total till now, but forgot the number of fights he took part in. Being the king of monsters, he however knew he won all of them. To establish
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