結果

問題 No.858 わり算
ユーザー はむ吉🐹はむ吉🐹
提出日時 2019-08-09 21:27:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 290 bytes
コンパイル時間 1,039 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 8,916 KB
最終ジャッジ日時 2023-10-12 08:34:12
合計ジャッジ時間 1,948 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
8,836 KB
testcase_01 AC 22 ms
8,916 KB
testcase_02 AC 21 ms
8,736 KB
testcase_03 AC 23 ms
8,688 KB
testcase_04 AC 23 ms
8,700 KB
testcase_05 AC 21 ms
8,892 KB
testcase_06 AC 22 ms
8,720 KB
testcase_07 AC 22 ms
8,828 KB
testcase_08 AC 21 ms
8,728 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import decimal


def main():
    decimal.getcontext().prec = 100
    decimal.getcontext().rounding = decimal.ROUND_DOWN
    a, b = (decimal.Decimal(z) for z in input().split())
    res = a / b
    print("{:.50f}".format(res))


if __name__ == "__main__":
    main()
0