結果

問題 No.1993 Horse Racing
ユーザー tassei903tassei903
提出日時 2022-07-01 22:09:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 448 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 54,056 KB
最終ジャッジ日時 2024-05-04 16:32:31
合計ジャッジ時間 1,846 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,260 KB
testcase_01 AC 31 ms
52,248 KB
testcase_02 AC 32 ms
52,548 KB
testcase_03 AC 32 ms
52,000 KB
testcase_04 AC 32 ms
53,164 KB
testcase_05 AC 33 ms
52,740 KB
testcase_06 AC 33 ms
54,056 KB
testcase_07 AC 32 ms
52,672 KB
testcase_08 AC 31 ms
53,548 KB
testcase_09 AC 32 ms
52,408 KB
testcase_10 AC 34 ms
54,004 KB
testcase_11 AC 34 ms
52,536 KB
testcase_12 AC 34 ms
52,740 KB
testcase_13 AC 32 ms
53,476 KB
testcase_14 AC 32 ms
52,564 KB
testcase_15 AC 31 ms
52,544 KB
testcase_16 AC 33 ms
53,276 KB
testcase_17 AC 32 ms
52,876 KB
testcase_18 AC 32 ms
52,516 KB
testcase_19 AC 33 ms
52,680 KB
testcase_20 AC 31 ms
53,172 KB
testcase_21 AC 32 ms
52,692 KB
testcase_22 AC 32 ms
53,064 KB
testcase_23 AC 31 ms
53,224 KB
testcase_24 AC 32 ms
52,280 KB
testcase_25 AC 32 ms
52,492 KB
testcase_26 AC 35 ms
53,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#######################################################################
n = ni()
a = na()
ans = 1
for i in range(n-1):
    ans *= (1000-a[i])/1000
print(1000*(1-ans))
0