結果

問題 No.858 わり算
ユーザー alcoholampalcoholamp
提出日時 2019-10-18 15:00:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 9,144 KB
最終ジャッジ日時 2023-09-07 20:42:36
合計ジャッジ時間 1,144 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

from decimal import *

class Problem0858:
    def solve(this):
        a, b = map(int, input().split())
        getcontext().prec = 50
        getcontext().rounding = ROUND_FLOOR
        print(Decimal(a) / Decimal(b))

if __name__ == "__main__":
    problem = Problem0858()
    problem.solve()
0