問題一覧 > 通常問題

No.1642 Registration

レベル : / AI推定難易度 : 101 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 366
作問者 : 蜜蜂 / テスター : Mitarushi ygussany
お気に入りにしたユーザー ProblemId : 5873 / 自分の提出
問題文最終更新日: 2021-08-01 11:06:08
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 309 (順位表) の他の問題:

Problem Statement

You have come to take an exam.
Now that the exam has started, you have decided to first write your examinee number on the answer sheet.
However, if the examinee number has $1$ digit, you must write $2$ leading $0$s, and if it has $2$ digits, you must write $1$ leading $0$.

Given your examinee number $N$, print the string you should write on the answer sheet.
It is guaranteed that $N$ is a positive integer with at most $3$ digits.

Input

$N$

  • $1 \leq N \leq 999$
  • $N$ is an integer.

Output

Print the string you should write on the answer sheet, followed by a newline.

Sample

Sample 1
Input
15
Output
015

Since $N$ has $2$ digits, you must write $1$ leading $0$.

Sample 2
Input
777
Output
777

This examinee number looks likely to bring a passing result.

Sample 3
Input
1
Output
001

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