結果

問題 No.1807 UMA Gacha
ユーザー gr1msl3ygr1msl3y
提出日時 2022-01-14 23:01:22
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 74 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 87,316 KB
実行使用メモリ 71,980 KB
最終ジャッジ日時 2023-08-12 21:44:58
合計ジャッジ時間 3,481 ms
ジャッジサーバーID
(参考情報)
judge11 / judge7
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,468 KB
testcase_01 AC 73 ms
71,636 KB
testcase_02 AC 73 ms
71,060 KB
testcase_03 AC 74 ms
71,508 KB
testcase_04 AC 73 ms
71,356 KB
testcase_05 AC 74 ms
71,740 KB
testcase_06 AC 73 ms
71,732 KB
testcase_07 AC 72 ms
71,648 KB
testcase_08 AC 71 ms
71,720 KB
testcase_09 AC 70 ms
71,376 KB
testcase_10 AC 71 ms
71,964 KB
testcase_11 AC 73 ms
71,588 KB
testcase_12 AC 72 ms
71,348 KB
testcase_13 AC 73 ms
71,156 KB
testcase_14 AC 74 ms
71,264 KB
testcase_15 AC 74 ms
71,872 KB
testcase_16 AC 73 ms
71,864 KB
testcase_17 AC 73 ms
71,980 KB
testcase_18 AC 72 ms
71,880 KB
testcase_19 AC 73 ms
71,908 KB
testcase_20 AC 73 ms
71,656 KB
testcase_21 AC 74 ms
71,936 KB
testcase_22 AC 73 ms
71,444 KB
testcase_23 AC 73 ms
71,356 KB
testcase_24 AC 72 ms
71,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
P = float(input())
print(1-(1.0-P)**N if N < 200 else 1)
0