結果

問題 No.858 わり算
ユーザー rsk0315rsk0315
提出日時 2019-08-09 23:31:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 8,796 KB
最終ジャッジ日時 2023-10-12 08:41:14
合計ジャッジ時間 1,089 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from decimal import Decimal, getcontext
getcontext().prec = 60

A, B = map(Decimal, input().split())
s = f'{A/B:.60f}'
print(s[:s.index('.')+51])
0