Easy25 pts
Find Digits
n. Count digits of n that divide n (no 0).
Input
t, then t lines: n
Output
Count per test.
Sample
2 12 1012
Expected
2 3
Loading editor…
Output
No output yet. Run your code to see results.
n. Count digits of n that divide n (no 0).
t, then t lines: n
Count per test.
2 12 1012
2 3
Loading editor…
No output yet. Run your code to see results.