树状数组

题单介绍

树状数组+线段树 求逆序对可以用树状数组或者归并排序的方法 - [P3374 【模板】树状数组 1](https://www.luogu.com.cn/problem/P3374) - [P3368 【模板】树状数组 2](https://www.luogu.com.cn/problem/P3368) - [P2068 统计和](https://www.luogu.com.cn/problem/P2068) - [P1908 逆序对](https://www.luogu.com.cn/problem/P1908) - [P1966 [NOIP 2013 提高组] 火柴排队](https://www.luogu.com.cn/problem/P1966) - [P2345 [USACO04OPEN] MooFest G](https://www.luogu.com.cn/problem/P2345) - [P1438 无聊的数列](https://www.luogu.com.cn/problem/P1438) - [P2344 [USACO11FEB] Generic Cow Protests G](https://www.luogu.com.cn/problem/P2344) - [P5057 [CQOI2006] 简单题](https://www.luogu.com.cn/problem/P5057)

题目列表

  • 【模板】树状数组 1
  • 【模板】树状数组 2
  • 统计和
  • 逆序对
  • [NOIP 2013 提高组] 火柴排队
  • [USACO04OPEN] MooFest G
  • 无聊的数列
  • [USACO11FEB] Generic Cow Protests G
  • [CQOI2006] 简单题