Lucky Area
CodeChefOpen on judge ↗
In this year’s IPL one of the best fielders Ravindra Jadeja has adopted a different strategy for fielding. He has decided to field only in the lucky area from the pitch. You just have to help him to choose the lucky area. The length and breadth of the pitch are given as $N$ and $M$ respectively. Consider the pitch to be divided into boxes of 1 unit area each. Every box has some integer value whic
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