No.677 Divisors of 10^N
問題文最終更新日: 2026-06-26 06:08:03
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 189
(順位表)
の他の問題:
Problem Statement
Print all positive divisors of $10^N$ in ascending order, separated by newlines.
Input
$N$
The input satisfies the following constraints.
- $0\le N\le18$
- $N$ is an integer.
Output
Print all positive divisors of $10^N$ in ascending order, separated by newlines.
Sample
Sample 1
Input
1
Output
1 2 5 10
The positive divisors of $10^1=10$ are $1,2,5,10$.
Sample 2
Input
2
Output
1 2 4 5 10 20 25 50 100
The positive divisors of $10^2=100$ are $1,2,4,5,10,20,25,50,100$.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
%20