結果

問題 No.1993 Horse Racing
ユーザー KudeKude
提出日時 2022-07-01 21:37:34
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 756 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 71,564 KB
最終ジャッジ日時 2023-08-17 09:01:20
合計ジャッジ時間 3,417 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,472 KB
testcase_01 AC 71 ms
71,272 KB
testcase_02 AC 71 ms
71,360 KB
testcase_03 AC 71 ms
71,348 KB
testcase_04 AC 73 ms
71,284 KB
testcase_05 AC 72 ms
71,456 KB
testcase_06 AC 71 ms
71,408 KB
testcase_07 AC 73 ms
71,256 KB
testcase_08 AC 72 ms
71,080 KB
testcase_09 AC 71 ms
71,468 KB
testcase_10 AC 72 ms
71,380 KB
testcase_11 AC 70 ms
71,460 KB
testcase_12 AC 71 ms
71,452 KB
testcase_13 AC 71 ms
71,440 KB
testcase_14 AC 71 ms
71,380 KB
testcase_15 AC 73 ms
71,404 KB
testcase_16 AC 75 ms
71,356 KB
testcase_17 AC 72 ms
71,564 KB
testcase_18 AC 72 ms
71,440 KB
testcase_19 AC 71 ms
71,292 KB
testcase_20 AC 72 ms
71,380 KB
testcase_21 AC 71 ms
71,296 KB
testcase_22 AC 70 ms
71,524 KB
testcase_23 AC 72 ms
71,432 KB
testcase_24 AC 72 ms
71,296 KB
testcase_25 AC 70 ms
71,364 KB
testcase_26 AC 71 ms
71,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = 1
for x in map(int, input().split()):
    s *= (1000 - x) / 1000
ans = 1000 * (1 - s)
print(f'{ans:.10f}')
0