結果
問題 |
No.1993 Horse Racing
|
ユーザー |
![]() |
提出日時 | 2025-03-20 18:42:54 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,144 KB |
実行使用メモリ | 53,904 KB |
最終ジャッジ日時 | 2025-03-20 18:43:02 |
合計ジャッジ時間 | 1,996 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))