結果
| 問題 | No.1993 Horse Racing |
| コンテスト | |
| ユーザー |
FromBooska
|
| 提出日時 | 2023-06-19 21:26:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 85,524 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-03-14 23:19:44 |
| 合計ジャッジ時間 | 1,979 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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