决策单调性优化dp

题单介绍

前几道是板子。 P5574 的 trick:用个双指针维护当前的 $w(i,j)$,在分治树中总移动次数为 $O(n\log n)$(思想类比莫队)。

题目列表

  • [POI 2011] Lightning Conductor
  • [JSOI2016] 灯塔
  • Ciel and Gondolas
  • The Bakery
  • [CmdOI2019] 任务分配问题
  • Yet Another Minimization Problem
  • [NOI2009] 诗人小G
  • Artistic Partition
  • [IOI 2000] 邮局 加强版