Problems
Contests
Account
Problems
> Armstrong Number > Editorial
Armstrong Number — Solution & Editorial
Back to the Problem
Let K be the digit count; sum digit
K
and compare.
Complexity:
O(K)
×
Refer Job