結果

問題 No.858 わり算
ユーザー alcoholampalcoholamp
提出日時 2019-10-18 15:14:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 303 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 9,192 KB
最終ジャッジ日時 2023-09-07 20:42:37
合計ジャッジ時間 1,045 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from decimal import *

class Problem0858:
    def solve(this):
        a, b = map(int, input().split())
        getcontext().prec = 100
        getcontext().rounding = ROUND_DOWN
        print("{:.50f}".format(Decimal(a / b)))

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