Harry and Prisoner of Azkaban
CodeChefOpen on judge ↗
This one is a simpler one !. Harry wants to find Prisoner of Azkaban, but he is known to be hidden in any one of the "Marsh" in the ground. The garden is rectangular and has lamp posts with post score assigned to them.( Like matrix elements ). Harry only has one magic trick which he applies to find 2 numbers, X and Y which denotes the upper-limit and lower-limit of the "Marsh Score" where Azkaba
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