Power Of Knights
CodeChefOpen on judge ↗
Note : This question carries $250$ $points$ John Snow, the king of the seven kingdoms, was being attacked by the white walkers. He was suggested by his small council that he should arrange his knights in increasing order of their power. It was very difficult to compare the power of all soldiers and arrange them in increasing order. Arya was given this job of arranging the soldiers by John
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