結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 99 ms
80,264 KB
testcase_02 WA -
testcase_03 AC 93 ms
79,864 KB
testcase_04 WA -
testcase_05 AC 91 ms
80,176 KB
testcase_06 AC 96 ms
80,128 KB
testcase_07 AC 92 ms
80,188 KB
testcase_08 AC 92 ms
80,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

from math import floor,ceil
from decimal import *
getcontext().prec = 100
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