結果

問題 No.858 わり算
ユーザー pofpof
提出日時 2020-01-15 23:09:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 186 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 9,064 KB
最終ジャッジ日時 2023-09-03 16:34:16
合計ジャッジ時間 1,551 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
9,032 KB
testcase_01 AC 19 ms
8,960 KB
testcase_02 AC 18 ms
8,880 KB
testcase_03 AC 17 ms
9,064 KB
testcase_04 AC 16 ms
8,876 KB
testcase_05 AC 17 ms
8,940 KB
testcase_06 RE -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
getcontext().prec= 54
a,b = map(int,input().split())
r = Decimal(a) / Decimal(b)
c = r.quantize(Decimal(str("0." +  "0"*49 + "1"))  , rounding=ROUND_FLOOR)
print(c)
0