Jessica zeta and Fields
CodeChefOpen on judge ↗
Cities in NY are $M$x$N$ rectangles. Killgrave is back in town and trying to mind control the whole city using his MC seeds. Jessica Jones has come to the rescue and thought of building immune walls in the city such that the effect of seeds do not propagate beyond to the walls. Since after building the walls the city is divided into different sections, so now Killgrave has to plant seeds in each s
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