結果
問題 | No.858 わり算 |
ユーザー |
![]() |
提出日時 | 2019-08-09 21:47:55 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 86,904 KB |
実行使用メモリ | 89,144 KB |
最終ジャッジ日時 | 2023-09-26 17:39:02 |
合計ジャッジ時間 | 3,115 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 224 ms
88,508 KB |
testcase_02 | AC | 220 ms
88,812 KB |
testcase_03 | AC | 216 ms
88,792 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 218 ms
88,500 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
ソースコード
import decimal decimal.getcontext().prec = 51 a,b=map(float,input().split()) a=decimal.Decimal(a) b=decimal.Decimal(b) s=str(decimal.Decimal(a/b)) if len(s)>=53: print(s[:len(s)-1]) else: s=float(s) print("{:.50f}".format(s))