← All problemsSign in

Winter is coming

It is a very bad time in the North. Lord Eddard Stark has been killed, the castle has been destroyed and Lady Catelyn is not in the kingdom. To add to the difficulties, “Winter is Coming”. The kingdom of North is composed of houses and roads connecting these houses. Winters in the North are very harsh and it becomes almost impossible to leave your house. So, this time, the King in the North has d

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