結果
| 問題 | No.1993 Horse Racing |
| コンテスト | |
| ユーザー |
SidewaysOwl
|
| 提出日時 | 2022-07-01 21:29:11 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 813µs | |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 81,892 KB |
| 実行使用メモリ | 55,968 KB |
| 最終ジャッジ日時 | 2026-09-30 04:22:57 |
| 合計ジャッジ時間 | 2,153 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
res = 1000
for i in range(n-1):
res *= (1000-a[i])
res /= 1000**(n-1)
print(1000-res)
SidewaysOwl