結果
問題 |
No.1993 Horse Racing
|
ユーザー |
![]() |
提出日時 | 2025-03-20 20:31:56 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 208 ms |
コンパイル使用メモリ | 82,980 KB |
実行使用メモリ | 53,720 KB |
最終ジャッジ日時 | 2025-03-20 20:32:56 |
合計ジャッジ時間 | 2,190 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
n = int(input()) a = list(map(int, input().split())) product = 1.0 for x in a: product *= (1000 - x) / 1000 ans = 1000 * (1 - product) print("{0:.10f}".format(ans))