結果

問題 No.858 わり算
ユーザー 👑 H20H20
提出日時 2021-06-16 09:13:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 210 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 87,128 KB
実行使用メモリ 93,096 KB
最終ジャッジ日時 2023-08-28 16:30:31
合計ジャッジ時間 3,504 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 215 ms
89,100 KB
testcase_02 WA -
testcase_03 AC 215 ms
88,884 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 RE -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, getcontext, ROUND_DOWN
getcontext().prec = 55
A,B = map(int,input().split())
kiri = '0.'+'0'*49+'1'
print('{:.50f}'.format(Decimal(A/B).quantize(Decimal(kiri),rounding=ROUND_DOWN)))
0