← All problemsSign in

A Plot by Littlefinger

**"When you play the Game of Thrones, you win or you die" - Cersei Lannister.** Cersei knows that there is an assassin in King's Landing, sent by Lord Baelish and Olenna, to kill her and Joffrey. Imagine King's Landing as a grid of $N$ x $N$ . She has placed $K$ members of her Queensguard at certain points in the city, whose location is denoted by $(r$i$,c$$i$$)$ for $1 \leq i \leq K$ . These wat

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start