結果
問題 | No.858 わり算 |
ユーザー |
|
提出日時 | 2021-02-28 20:55:01 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 318 bytes |
コンパイル時間 | 951 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 80,368 KB |
最終ジャッジ日時 | 2024-10-02 21:57:56 |
合計ジャッジ時間 | 2,130 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 5 WA * 2 |
ソースコード
def sqrt(x): return x.sqrt() from math import floor,ceil from decimal import * getcontext().prec = 50 getcontext().rounding = ROUND_HALF_DOWN # getcontext().rounding = ROUND_FLOOR # getcontext().rounding = ROUND_CEILING D=Decimal """ pypyだと遅い """ x,y=map(D, input().split()) print("{:.50f}".format(x/y))