結果

問題 No.1993 Horse Racing
ユーザー 👑 tamatotamato
提出日時 2022-07-01 21:23:58
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 390 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 71,616 KB
最終ジャッジ日時 2023-08-17 08:31:21
合計ジャッジ時間 3,508 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,584 KB
testcase_01 AC 74 ms
71,116 KB
testcase_02 AC 73 ms
71,344 KB
testcase_03 AC 75 ms
71,348 KB
testcase_04 AC 71 ms
71,564 KB
testcase_05 AC 72 ms
71,396 KB
testcase_06 AC 76 ms
71,432 KB
testcase_07 AC 75 ms
71,616 KB
testcase_08 AC 74 ms
71,252 KB
testcase_09 AC 73 ms
71,416 KB
testcase_10 AC 73 ms
71,408 KB
testcase_11 AC 73 ms
71,412 KB
testcase_12 AC 72 ms
71,616 KB
testcase_13 AC 74 ms
71,272 KB
testcase_14 AC 74 ms
71,468 KB
testcase_15 AC 73 ms
71,256 KB
testcase_16 AC 74 ms
71,120 KB
testcase_17 AC 74 ms
71,412 KB
testcase_18 AC 73 ms
71,248 KB
testcase_19 AC 74 ms
71,364 KB
testcase_20 AC 73 ms
71,324 KB
testcase_21 AC 76 ms
71,568 KB
testcase_22 AC 74 ms
71,224 KB
testcase_23 AC 73 ms
71,256 KB
testcase_24 AC 75 ms
71,364 KB
testcase_25 AC 74 ms
71,256 KB
testcase_26 AC 74 ms
71,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    A = list(map(int, input().split()))

    r = 1
    for a in A:
        r *= (1000 - a) / 1000
    print(1000 - 1000 * r)


if __name__ == '__main__':
    main()
0