No.858 Division
レベル :
/ AI推定難易度 : 201
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 319
作問者 :
nmnmnmnmnmnmnm
/ テスター :
ciel
タグ : / 解いたユーザー数 319
作問者 :
nmnmnmnmnmnmnm
/ テスター :
問題文最終更新日: 2019-08-08 02:14: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 219
(順位表)
の他の問題:
Problem Statement
Find the result of dividing a positive integer $A$ by a positive integer $B$.
The answer must always be computed to the 50th decimal place, and digits from the 51st decimal place onward must be truncated.
Input
$A$ $B$
$A$ and $B$ are positive integers. $1 \le A,B \le 1000000000=10^9$.
Output
Output the answer on one line, followed by a newline.
No error in the answer is allowed.
Sample
Sample 1
Input
2 1
Output
2.00000000000000000000000000000000000000000000000000
Always display the answer to the 50th decimal place.
Sample 2
Input
3 7
Output
0.42857142857142857142857142857142857142857142857142
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。