hbhz_zcy's blog

By hbhz_zcy, history, 7 weeks ago, In English
$$$(f \ast g)(t)=\max\limits_{i=0}^t (f_i+g_{t-i})$$$

I thought for a long time and tried something like FFT to solve it but failed.
In fact,I haven't find a algorithm better than brute force,which is $$$O(n^2)$$$.

  • Vote: I like it
  • +14
  • Vote: I do not like it

7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by hbhz_zcy (previous revision, new revision, compare).