結果
| 問題 |
No.1993 Horse Racing
|
| コンテスト | |
| ユーザー |
FromBooska
|
| 提出日時 | 2023-06-19 21:26:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 155 bytes |
| コンパイル時間 | 247 ms |
| コンパイル使用メモリ | 81,976 KB |
| 実行使用メモリ | 53,488 KB |
| 最終ジャッジ日時 | 2024-06-27 09:19:32 |
| 合計ジャッジ時間 | 2,357 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
product = 1
for i in range(N-1):
product *= (1000-A[i])/1000
ans = 1000 - 1000*product
print(ans)
FromBooska