結果

問題 No.858 わり算
ユーザー kappybarkappybar
提出日時 2020-04-08 21:43:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 8,912 KB
最終ジャッジ日時 2023-09-26 11:03:37
合計ジャッジ時間 1,126 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,760 KB
testcase_01 AC 20 ms
8,880 KB
testcase_02 AC 21 ms
8,788 KB
testcase_03 AC 20 ms
8,872 KB
testcase_04 AC 20 ms
8,896 KB
testcase_05 AC 20 ms
8,764 KB
testcase_06 AC 21 ms
8,808 KB
testcase_07 AC 21 ms
8,796 KB
testcase_08 AC 20 ms
8,912 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