結果

問題 No.1993 Horse Racing
ユーザー lilictakalilictaka
提出日時 2022-07-01 21:57:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 134 bytes
コンパイル時間 546 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 71,640 KB
最終ジャッジ日時 2023-08-17 09:30:46
合計ジャッジ時間 3,345 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,236 KB
testcase_01 AC 66 ms
71,340 KB
testcase_02 AC 68 ms
71,548 KB
testcase_03 AC 66 ms
71,384 KB
testcase_04 AC 66 ms
71,344 KB
testcase_05 AC 65 ms
71,272 KB
testcase_06 AC 65 ms
71,408 KB
testcase_07 AC 65 ms
71,168 KB
testcase_08 AC 65 ms
71,640 KB
testcase_09 AC 64 ms
71,456 KB
testcase_10 AC 65 ms
71,364 KB
testcase_11 AC 66 ms
71,400 KB
testcase_12 AC 64 ms
71,476 KB
testcase_13 AC 66 ms
71,488 KB
testcase_14 AC 66 ms
71,548 KB
testcase_15 AC 66 ms
71,296 KB
testcase_16 AC 66 ms
71,368 KB
testcase_17 AC 66 ms
71,208 KB
testcase_18 AC 64 ms
71,500 KB
testcase_19 AC 65 ms
71,508 KB
testcase_20 AC 64 ms
71,212 KB
testcase_21 AC 65 ms
71,264 KB
testcase_22 AC 65 ms
71,212 KB
testcase_23 AC 65 ms
71,392 KB
testcase_24 AC 69 ms
71,332 KB
testcase_25 AC 64 ms
71,428 KB
testcase_26 AC 65 ms
71,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
r = 1
for i in range(N-1):
    r *= (1000-A[i])/1000
ans = 1000 * (1-r)
print(ans)
0