← All problemsSign in

Mercury Poisoning

CodeChefRating 2432Open on judge ↗

Kim has broken in to the base, but after walking in circles, perplexed by the unintelligible base design of the JSA, he has found himself in a large, empty, and pure white, room. The room is a grid with $H*W$ cells, divided into $H$ rows and $W$ columns. The cell $(i,j)$ is at height $A[i][j]$. Unfortunately, his advanced sense of smell has allowed him to sense a mercury leak, probably brought

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