結果
| 問題 | No.1076 寿司打 |
| コンテスト | |
| ユーザー |
neterukun
|
| 提出日時 | 2020-06-12 21:31:40 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 130 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 81,900 KB |
| 実行使用メモリ | 65,540 KB |
| 最終ジャッジ日時 | 2026-10-12 03:06:18 |
| 合計ジャッジ時間 | 1,565 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 1 |
ソースコード
p = float(input())
ans = 0
ru_p = 1
for times in range(1, 100000):
ans += times * (1 - p) * ru_p * p
ru_p *= p
print(ans)
neterukun