結果

問題 No.858 わり算
ユーザー ryuhei1230ryuhei1230
提出日時 2019-08-09 23:05:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 9,048 KB
最終ジャッジ日時 2023-09-26 21:44:57
合計ジャッジ時間 1,440 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from decimal import Decimal, ROUND_DOWN
import decimal




a, b = list(map(int, input().split()))



decimal.getcontext().prec = 51
print((Decimal(str(a))/Decimal(str(b))).quantize(Decimal(str(1/10**50)), rounding=ROUND_DOWN))
0