siddharth.s.atwork's blog

By siddharth.s.atwork, history, 7 years ago, In English

This is the link of problem.I could not understand the editorial.Please help me out.

| Write comment?
»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This is my submission — http://abc076.contest.atcoder.jp/submissions/1728533 . f(i) denotes the maximum speed we can have at the start of the ith interval. This speed should not be greater than v[i],v[i-1],f[i-1]+t[i],and ) . Now that you have the starting ( f(i) ) and ending speeds ( f(i+1) ) for each interval, calculate the maximum distance we can travel within that interval.

»
7 years ago, # |
  Vote: I like it +7 Vote: I do not like it

Hi, I'm the writer of this round — if you didn't understand my editorial, I'm sorry (maybe because of my bad English).
But, hope you can understand with seeing this diagram. The area of blue place represents the answer.