摘要: amazing normal 阅读全文
posted @ 2019-07-18 20:10 邱涵的秘密基地 阅读(140) 评论(0) 推荐(0) 编辑
摘要: ```cpp #include #include #include #include #include #define R(a,b,c) for(register int a = (b); a = (c); -- a) #define Max(a,b) ((a) > (b) ? (a) : (b)) #define Min(a,b) ((a) ios& operator >> (ATP... 阅读全文
posted @ 2019-07-18 15:24 邱涵的秘密基地 阅读(160) 评论(0) 推荐(0) 编辑
摘要: $单调队列$ 或 $堆$ 优化 阅读全文
posted @ 2019-07-18 13:32 邱涵的秘密基地 阅读(108) 评论(0) 推荐(0) 编辑
摘要: ```cpp #include #include #include #include #include #define R(a,b,c) for(register int a = (b); a = (c); -- a) #define Max(a,b) ((a) > (b) ? (a) : (b)) #define Min(a,b) ((a) ios& operator >> (ATP... 阅读全文
posted @ 2019-07-18 11:55 邱涵的秘密基地 阅读(175) 评论(0) 推荐(0) 编辑
摘要: $ f[j]=max(f[i−1][j],f[i−1][j−1]+(x == j) $ 阅读全文
posted @ 2019-07-18 11:24 邱涵的秘密基地 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ```cpp #include #include #include #include #include #define R(a,b,c) for(register int a = (b); a = (c); -- a) #define Max(a,b) ((a) > (b) ? (a) : (b)) #define Min(a,b) ((a) ios& operator >> (ATP... 阅读全文
posted @ 2019-07-18 11:01 邱涵的秘密基地 阅读(185) 评论(0) 推荐(0) 编辑