Niven Numbers (Long)
A Niven number is a positive integer that is divisible by the sum of its digits.
Print all the Niven numbers from 1 to 10,000 inclusive, each on their own line.
0 bytes, 0 charsRestore solution
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
ctrl + enter or