結果
問題 | No.1993 Horse Racing |
ユーザー |
|
提出日時 | 2022-07-01 22:12:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 292 bytes |
コンパイル時間 | 108 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-26 05:22:00 |
合計ジャッジ時間 | 1,596 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
import sys def main(): input = lambda: sys.stdin.readline()[:-1] N = int(input()) A = list(map(int, input().split())) n = 1000 for ai in A: n *= (1000 - ai) / 1000 print(1000 - n) if not __debug__: f = open(sys.argv[1], "r") sys.stdin = f main()