02 2022 档案
摘要:带修的区间第 \(k\) 小。 #include <queue> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define LL long long #define rep(i, j,
阅读全文
摘要:Problem Link Solution 看到第一问,不难想到是个有两个属性的 \(\text{LIS}\) 问题,很容易想到 \(\text{O(}\) \(n^2\) \(\text{)}\) 的暴力 DP 。 定义 \(\text{dp[i]}\) 为以当前导弹结尾的最多拦截数,\(\tex
阅读全文