結果

問題 No.858 わり算
ユーザー caleicalei
提出日時 2020-01-20 19:13:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 8,992 KB
最終ジャッジ日時 2023-09-15 21:27:27
合計ジャッジ時間 1,178 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 22 ms
8,848 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# 別解(decimalモジュール使用)

from decimal import getcontext,Decimal

a,b=map(int,input().split())
getcontext().prec=51
ans=Decimal(a)/Decimal(b)
print(str(ans)[:-1])
0