問題一覧 > 通常問題

No.677 Divisors of 10^N

レベル : / AI推定難易度 : 151 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 379
作問者 : %20 / テスター : ciel
お気に入りにしたユーザー ProblemId : 1865 / 自分の提出
問題文最終更新日: 2026-06-26 06:08:03
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もしくは右上の雲マークをクリックしてアカウントを作成してください。