結果
| 問題 |
No.858 わり算
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-20 00:29:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 80,128 KB |
| 最終ジャッジ日時 | 2024-07-21 08:11:21 |
| 合計ジャッジ時間 | 1,917 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 1 |
| other | AC * 1 WA * 3 RE * 3 |
ソースコード
from decimal import *
getcontext().prec = 51
a,b =(x for x in input().split())
a = Decimal(a)
b = Decimal(b)
ans1 = str(a / b).split('.')[0]
ans2 = str(a / b).split('.')[1][0:50]
print(ans1 + '.' + ans2)