結果

問題 No.1076 寿司打
ユーザー 👑 timitimi
提出日時 2020-10-12 15:10:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 91 bytes
コンパイル時間 501 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-27 23:39:37
合計ジャッジ時間 1,899 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
7,844 KB
testcase_01 AC 12 ms
7,760 KB
testcase_02 AC 13 ms
7,716 KB
testcase_03 AC 12 ms
7,760 KB
testcase_04 WA -
testcase_05 AC 13 ms
7,876 KB
testcase_06 AC 13 ms
7,776 KB
testcase_07 AC 13 ms
7,868 KB
testcase_08 AC 13 ms
7,752 KB
testcase_09 AC 14 ms
7,784 KB
testcase_10 AC 14 ms
7,872 KB
testcase_11 AC 13 ms
7,760 KB
testcase_12 AC 13 ms
7,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p=float(input())
ans=0
for i in range(1,100):
    ans+=i*pow(p,i-1)*(1-p)
    
print(ans-1)
0