摘要: ...占位 阅读全文
posted @ 2022-06-25 10:30 Ryomk 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 子序列专题 最长递增子序列 LIS 用动态规划做。 Favorite Color Stripe (30) Link #include <iostream> #include <cstdio> #include <cstdlib> #include <algorithm> #include <string> #i 阅读全文
posted @ 2022-06-25 10:28 Ryomk 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 滑动窗口专题 Shopping in Mars (25) Link 这道题还可以用前缀和+二分做。 #include <iostream> #include <cstdio> #include <cstdlib> #include <algorithm> #include <string> #include <s 阅读全文
posted @ 2022-06-25 09:40 Ryomk 阅读(22) 评论(0) 推荐(0) 编辑