結果
問題 | No.1076 寿司打 |
ユーザー |
![]() |
提出日時 | 2020-06-15 23:18:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 286 bytes |
コンパイル時間 | 144 ms |
コンパイル使用メモリ | 82,556 KB |
実行使用メモリ | 53,876 KB |
最終ジャッジ日時 | 2024-07-03 11:35:30 |
合計ジャッジ時間 | 1,280 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) mod=10**9+7 def main(): p=float(input()) if p==0: print(0) else: print(1/(1-p)-1) main()