BAHOT HARD
CodeChefOpen on judge ↗
All submissions for this problem are available. Harry is preparing for a friendly face-off match with the you-know-who. In that match, both of them will be present in a room of width W with a chess-like ground of same width and L length between them. Now this ground is imported from the room of a prisoner of Azkabaan and hence, some N of its blocks contain Pi power to weaken Dark Lord. (Obviously
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