結果

問題 No.1993 Horse Racing
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-07-01 21:32:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 258 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 71,596 KB
最終ジャッジ日時 2023-08-17 08:52:24
合計ジャッジ時間 3,238 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,444 KB
testcase_01 AC 70 ms
71,444 KB
testcase_02 AC 69 ms
71,356 KB
testcase_03 AC 67 ms
71,536 KB
testcase_04 AC 69 ms
71,448 KB
testcase_05 AC 68 ms
71,180 KB
testcase_06 AC 69 ms
71,280 KB
testcase_07 AC 70 ms
71,448 KB
testcase_08 AC 69 ms
71,596 KB
testcase_09 AC 69 ms
71,440 KB
testcase_10 AC 68 ms
71,280 KB
testcase_11 AC 69 ms
71,392 KB
testcase_12 AC 71 ms
71,444 KB
testcase_13 AC 69 ms
71,496 KB
testcase_14 AC 68 ms
71,420 KB
testcase_15 AC 70 ms
71,276 KB
testcase_16 AC 69 ms
71,400 KB
testcase_17 AC 69 ms
71,108 KB
testcase_18 AC 69 ms
71,560 KB
testcase_19 AC 69 ms
71,556 KB
testcase_20 AC 69 ms
71,448 KB
testcase_21 AC 70 ms
71,388 KB
testcase_22 AC 69 ms
71,444 KB
testcase_23 AC 68 ms
71,408 KB
testcase_24 AC 70 ms
71,252 KB
testcase_25 AC 69 ms
71,344 KB
testcase_26 AC 68 ms
71,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

from sys import stdin

N = int(stdin.readline())

A = list(map(int,stdin.readline().split()))

d = 1000

for i in range(N-1):

    d *= 1000-A[i]
    d /= 1000

print (1000-d)
0