結果

問題 No.858 わり算
ユーザー futago0118futago0118
提出日時 2020-07-21 11:45:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 975 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 8,916 KB
最終ジャッジ日時 2023-08-27 13:30:29
合計ジャッジ時間 1,557 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import decimal
decimal.getcontext().prec = 70

a,b = map(decimal.Decimal,input().split())
FIF = decimal.Decimal(10) ** -50
c = decimal.Decimal(str(a/b)).quantize(FIF,rounding=decimal.ROUND_DOWN)
print('{:.50f}'.format(c))
0