摘要:
二维树状数组优化dp,复杂度又O(n maxa k) 变成 O(n log(maxa k)) #include #include #include using namespace std; int maxn,n,k,a[10010],ans,tmp; struct BIT { int c[6060][550]; inline int lowbit(int x) ... 阅读全文
posted @ 2016-05-08 18:41
invoid
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号