← All problemsSign in

Jon Snow vs White Walkers

White walkers and their army of the dead are fast approaching the great wall at Dragonstone. Jon Snow and his army of crows are all that stand between the white walkers and Westeros. There are n crows in Jon Snow’s army and m white walkers in White walkers army. The strength of ith person in Jon Snow’s army is given Ai. The strength of each person in the white walker army is given by Bi. The tota

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