← All problemsSign in

GLOBAL CRISIS

A global crisis has occurred. A contagious virus, that can turn people into zombies, is spreading at a detrimental rate. However, there are certain people, who are immune to this virus, due to their genetic nature. The virus spreads immediately from a person to an adjacent person in any of the eight directions (North , North East, East , South East, South, South west, West and North west). The pr

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