結果
| 問題 | No.1993 Horse Racing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-01 22:12:27 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 759 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-20 16:38:13 |
| 合計ジャッジ時間 | 4,411 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()