結果
| 問題 | No.1076 寿司打 |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2024-07-31 08:59:00 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 146 ms / 2,000 ms |
| + 758µs | |
| コード長 | 116 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 81,280 KB |
| 実行使用メモリ | 82,848 KB |
| 最終ジャッジ日時 | 2026-10-12 03:38:00 |
| 合計ジャッジ時間 | 2,358 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
p = float(input())
ans = 0
now = p
for i in range(10**6):
ans += (i + 1) * now * (1 - p)
now *= p
print(ans)
rlangevin