World War III
CodeChefOpen on judge ↗
As the zombie apocalypse is at its peak and there is rising tensions among nations for getting a hold of the zombie cure. The cure is available as $N$ batches and each batch contains $Ai$ vials of the cure. Two superpowers are battling for the same. As a UN peace advocate, Prof Paradox, refuses to sort this quarrel out, turning it into the next World War. You, on the other hand, are determined
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