結果
問題 | No.1993 Horse Racing |
ユーザー |
|
提出日時 | 2023-05-05 06:27:23 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 202 bytes |
コンパイル時間 | 263 ms |
コンパイル使用メモリ | 82,340 KB |
実行使用メモリ | 54,172 KB |
最終ジャッジ日時 | 2024-11-22 17:29:35 |
合計ジャッジ時間 | 2,522 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
N = int(input())A = list(map(int, input().split()))V = [0 for _ in range(N)]V[N-1] = 1000t = 1for i in range(N-1, 0, -1):V[i-1] = (1000-A[i-1])/tt = 1000/V[i-1]#print(V)print(1000-V[0])