結果
| 問題 |
No.858 わり算
|
| コンテスト | |
| ユーザー |
Schnee
|
| 提出日時 | 2019-10-20 15:07:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-02 17:25:59 |
| 合計ジャッジ時間 | 1,307 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 7 |
ソースコード
from decimal import *
getcontext().prec = 51
num_str = str(Decimal('3') / Decimal('2'))
length = len(num_str)
if length == 1:
print(num_str + "." + "0" * 50)
elif length < 52:
print(num_str + "0" * (52 - length))
else:
print(num_str[:52])
Schnee