結果
問題 | No.1993 Horse Racing |
ユーザー |
![]() |
提出日時 | 2022-07-01 22:00:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 573 ms |
コンパイル使用メモリ | 82,300 KB |
実行使用メモリ | 53,940 KB |
最終ジャッジ日時 | 2024-11-26 05:03:48 |
合計ジャッジ時間 | 2,470 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
import sysinput = sys.stdin.readlineN = int(input())A = list(map(int, input().split()))speed = [0] * Nspeed[0] = 1for i in range(N-1):t = 1000/speed[i]speed[i+1] = speed[i] - A[i]/tprint(1000-speed[N-1]*1000)