結果
問題 | No.858 わり算 |
ユーザー |
|
提出日時 | 2019-10-18 15:16:34 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2025-01-07 14:52:13 |
合計ジャッジ時間 | 1,230 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
from decimal import * class Problem0858: def solve(this): a, b = map(int, input().split()) getcontext().prec = 100 getcontext().rounding = ROUND_DOWN print("{:.50f}".format(Decimal(a) / Decimal(b))) if __name__ == "__main__": problem = Problem0858() problem.solve()