Armstrong Numbers in a Range
Easy
Digit Problems
An Armstrong number equals the sum of its digits each raised to the number of digits. Print all such numbers in [a, b].
Constraints
1 <= a <= b <= 10^6
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.