結果
| 問題 |
No.1993 Horse Racing
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-05-28 01:08:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 136 bytes |
| コンパイル時間 | 474 ms |
| コンパイル使用メモリ | 82,100 KB |
| 実行使用メモリ | 53,852 KB |
| 最終ジャッジ日時 | 2025-05-28 01:08:48 |
| 合計ジャッジ時間 | 2,969 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
x = 1
for a in A:
x *= (1000 - a) / 1000
x *= 1000
ans = 1000 - x
print(ans)
norioc