Naman Fights
CodeChefOpen on judge ↗
Naman is a bright coder of SRM and he is also good at other activities also. One fine morning, Naman got into a fight with a batchmate over small things. Then one of the batchmate Prince came to resolve the fight over the maths problem that was finding the largest number from the given number by rearranging in any order. Now you have to help Prince to resolve the fight and give the right answer wh
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