結果

問題 No.1076 寿司打
ユーザー d9etd9et
提出日時 2020-06-12 21:30:22
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 71 bytes
コンパイル時間 1,188 ms
コンパイル使用メモリ 86,884 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-09-06 09:50:26
合計ジャッジ時間 2,004 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,368 KB
testcase_01 AC 71 ms
71,408 KB
testcase_02 AC 70 ms
71,444 KB
testcase_03 AC 69 ms
71,284 KB
testcase_04 AC 74 ms
71,492 KB
testcase_05 AC 69 ms
71,264 KB
testcase_06 AC 68 ms
71,584 KB
testcase_07 AC 69 ms
71,440 KB
testcase_08 AC 70 ms
71,368 KB
testcase_09 AC 70 ms
71,512 KB
testcase_10 AC 71 ms
71,484 KB
testcase_11 AC 70 ms
71,612 KB
testcase_12 AC 70 ms
71,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p = float(input())
if p == 0:
    print(0)
else:
    print((1/(1-p))-1)
0