The last number
CodeChefOpen on judge ↗
George was going through the sequence generated by his robot, at one point, he found a very special number. The number was unique because, if you sum the digits of the number after raising it to the number of digits, you get the same number. George looked up about them and realized that they're called as 'Armstrong numbers'. George wants your help, he was wondering if you could develop a pro
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