結果

問題 No.1807 UMA Gacha
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-01-14 21:27:35
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 491 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 71,976 KB
最終ジャッジ日時 2023-08-12 17:39:11
合計ジャッジ時間 3,461 ms
ジャッジサーバーID
(参考情報)
judge2 / judge9
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,156 KB
testcase_01 AC 75 ms
71,560 KB
testcase_02 AC 71 ms
71,208 KB
testcase_03 AC 70 ms
71,452 KB
testcase_04 AC 70 ms
71,456 KB
testcase_05 AC 70 ms
71,580 KB
testcase_06 AC 71 ms
71,648 KB
testcase_07 AC 70 ms
71,684 KB
testcase_08 AC 70 ms
71,976 KB
testcase_09 AC 69 ms
71,484 KB
testcase_10 AC 69 ms
71,712 KB
testcase_11 AC 70 ms
71,624 KB
testcase_12 AC 69 ms
71,304 KB
testcase_13 AC 71 ms
71,264 KB
testcase_14 AC 70 ms
71,372 KB
testcase_15 AC 70 ms
71,680 KB
testcase_16 AC 70 ms
71,700 KB
testcase_17 AC 71 ms
71,976 KB
testcase_18 AC 69 ms
71,868 KB
testcase_19 AC 70 ms
71,524 KB
testcase_20 AC 69 ms
71,668 KB
testcase_21 AC 70 ms
71,560 KB
testcase_22 AC 69 ms
71,388 KB
testcase_23 AC 69 ms
71,292 KB
testcase_24 AC 69 ms
71,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
P = float(input())

if N >= 200:
    print (1)
else:
    print (1 - (1-P)**N)
0