問題一覧 > 通常問題

No.428 The Dream of Running Away from a Decimal

レベル : / AI推定難易度 : 400 / 実行時間制限 : 1ケース 1.000秒 / メモリ制限 : 512 MB / 小数誤差許容問題 絶対誤差または相対誤差が $0$ 以下。ただし、ジャッジ側の都合で500桁未満にしてください
タグ : (AC するまで非表示) / 解いたユーザー数 282
作問者 : matsu7874 / テスター : りあん
お気に入りにしたユーザー ProblemId : 901 / 自分の提出
問題文最終更新日: 2026-06-25 02:34:32
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 150 (順位表) の他の問題:

Problem Statement

Whenever I have a fever, I always dream of being crushed by a decimal.
It is always the same decimal, D. Despite its gentle appearance, D is a vicious decimal.
D is a decimal with 190 digits after the decimal point, as if "0." had been stuck to the front of the numbers I used to count in the bath when I was little.

 D = 0.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991

But when my fever goes down, I also always have the same dream.
It is a dream in which a natural number N comes along and defeats D by multiplying D by exactly N.
Ah, N has come again this time.
If D is multiplied by N, my fever will surely go down!

Input

N

The natural number N satisfies $ 1 \le N \le 100$.

Output

Output the value of D multiplied by N on one line, followed by a newline.
Extra trailing 0s are allowed; however, if the entire output is 500 characters or more, it will be judged as a wrong answer.

Sample

Sample 1
Input
1
Output
0.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991

Multiplying by 1 does not change the value.

Sample 2
Input
10
Output
1.2345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910

This shows D multiplied by 10 without error up to 189 digits after the decimal point, but the value is still correct with a 0 at the end.

Sample 3
Input
14
Output
1.7283950474155698398122640546882971125395367819610243852668095092337516579940822365064789307213549637792062034486276910519334761759004183246607489031731455973880216304458728701152943577185874

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