Queens Landing
CodeChefOpen on judge ↗
The Dragon Queen (Danaerys) is about to land in King's Landing for meeting with the High Lords. Danaerys, flashy as usual, has come riding on a Dragon and she plans to land on the Dragon's Pit. The Dragon's Pit is a giant rectangle made out of R*C square cells. (i.e. length=R, breadth=C) Queen Cersei, having anticipated this, has filled the pit with Lannister Army. Each cell in the pit has a cer
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