21FA - 06 Puupuu the Puuduu
CodeChefOpen on judge ↗
Puupuu the Pudu is a very hungry pudu. Today, she is in the mood to eat some berries. While roaming around searching for food, luck strikes her, and she finds a rectangular field full of berries! However, there are rivers that run vertically and horizontally which partition the field into $m$ rows and $n$ columns of land patches. Each of these $m\times n$ land patches contain an integer amount of
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