Largest of All
CodeChefOpen on judge ↗
Tumpaa is on her way to fight the greatest war in Westeros.She wants to defeat the army of the dead,but she dosen't have an army.She has been given a gift by the lord of light.The gift is an array of numbers of size n.She can arrange the digits of the array in any way she can and give it back to the lord of light.She will receive an army of the size of the number that the array represents going fr
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