← All problemsSign in

Time to be a hero, this time for city!

There is a deadly virus in the city.The Doctors have found a cure but the supply isn’t enough for all, Deadpool needs to save as many people as possible with the medicine, for which he must know the amount of supplies he must carry with him. A map has been draw in which '0' means nothing '-1' means infected person and '1' means uninfected. Now people are scattered in groups you have to tell the n

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