結果

問題 No.858 わり算
ユーザー futago0118futago0118
提出日時 2020-07-21 14:42:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 486 ms
コンパイル使用メモリ 10,504 KB
実行使用メモリ 9,248 KB
最終ジャッジ日時 2023-08-28 14:06:09
合計ジャッジ時間 1,664 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
9,248 KB
testcase_01 AC 19 ms
9,020 KB
testcase_02 AC 19 ms
9,076 KB
testcase_03 AC 19 ms
9,200 KB
testcase_04 AC 19 ms
9,032 KB
testcase_05 AC 19 ms
9,088 KB
testcase_06 AC 21 ms
9,008 KB
testcase_07 AC 19 ms
9,080 KB
testcase_08 AC 20 ms
9,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal
import math
decimal.getcontext().prec = 55

F = decimal.Decimal(10)**50
a,b = map(decimal.Decimal,input().split())
c = a/b
C = math.floor(F * c)/F

print('{:.50f}'.format(C))
0