結果

問題 No.858 わり算
ユーザー URechaRecha
提出日時 2019-09-02 19:14:17
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 213 bytes
コンパイル時間 830 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2025-01-07 14:51:43
合計ジャッジ時間 1,294 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
from math import floor
a,b=map(int,input().split())
getcontext().prec = 100
a,b = Decimal(a),Decimal(b)
ans = Decimal(floor(a/b * 10**50))
ans = Decimal(ans /10**50)
print(format(ans,'.50f'))
0