摘要: 1.线性 「BZOJ1609」麻烦的聚餐 分别求一遍连续非下降/上升子序列长度,用总长减去,取最小值即可,主要$O(n^2)$优化 Code #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> usin 阅读全文
posted @ 2020-06-24 20:24 liuzhaoxu 阅读(179) 评论(0) 推荐(1) 编辑