問題一覧 > 通常問題

No.1291 Warm-Up

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 335
作問者 : 沙耶花 / テスター : kichi2004_
お気に入りにしたユーザー ProblemId : 3856 / 自分の提出
問題文最終更新日: 2020-09-29 23:32:58
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 275 (順位表) の他の問題:

Problem Statement

For each of $i=1,2,...,N$, solve the following problem.

  • Find the number of integers greater than or equal to 0 that have exactly $d_i$ digits in decimal notation.

Input

$N$
$d_1$
$\vdots$
$d_N$

  • $1 \le N \le 100$
  • $1 \le d_i \le 100$
  • All inputs are integers.

Output

Output $N$ lines.
On the $x$-th line, output the answer to the problem for $i=x$.
Print a newline at the end.

Sample

Sample 1
Input
3
3
5
20
Output
900
90000
90000000000000000000

For example, for $i=1$, the integers from 100 to 999 inclusive qualify.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。