結果
問題 |
No.1807 UMA Gacha
|
ユーザー |
![]() |
提出日時 | 2022-01-14 21:27:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 96 bytes |
コンパイル時間 | 337 ms |
コンパイル使用メモリ | 81,792 KB |
実行使用メモリ | 51,968 KB |
最終ジャッジ日時 | 2024-11-20 07:50:30 |
合計ジャッジ時間 | 2,103 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 21 |
ソースコード
N = int(input()) P = float(input()) if N >= 200: print (1) else: print (1 - (1-P)**N)