結果

問題 No.858 わり算
ユーザー NoneNone
提出日時 2021-02-28 20:55:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 318 bytes
コンパイル時間 216 ms
コンパイル使用メモリ 82,400 KB
実行使用メモリ 80,688 KB
最終ジャッジ日時 2024-04-12 10:17:39
合計ジャッジ時間 1,808 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 99 ms
80,332 KB
testcase_02 WA -
testcase_03 AC 92 ms
80,136 KB
testcase_04 WA -
testcase_05 AC 94 ms
80,272 KB
testcase_06 AC 98 ms
80,148 KB
testcase_07 AC 97 ms
80,224 KB
testcase_08 AC 93 ms
80,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def sqrt(x):
    return x.sqrt()

from math import floor,ceil
from decimal import *
getcontext().prec = 50
getcontext().rounding = ROUND_HALF_DOWN
# getcontext().rounding = ROUND_FLOOR
# getcontext().rounding = ROUND_CEILING
D=Decimal

"""
pypyだと遅い
"""

x,y=map(D, input().split())
print("{:.50f}".format(x/y))
0