P2345. MooFest G

考点

  • cdq分治
  • 树状数组

题解

P5094. MooFest G

思路