The Battle for Winterfell
CodeChefOpen on judge ↗
The white walkers have crossed the wall and are about to reach Winterfell. Jon Snow has created walls around Winterfell making it a square boundary. He must strategically place his ‘k’ archers on four sides of the castle. However, the Night King is not like all other enemies and Jon is now much wiser than he was at the Battle of the Bastards. He must ensure that each of the sides, East West North
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