Jashan and his dog
CodeChefOpen on judge ↗
Jashan had been playing Minecraft for a while. It is a game where everything is in the form of cubic blocks (no curves). He thought of making a new mountainous terrain having his own rules in which the blocks are placed. The rules are- - The mountain is in the form of an array of $N \times M$ dimensions. - Each element of the array represents the height of the mountain at that point. - The height
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