07 2025 档案
摘要:题目链接:https://atcoder.jp/contests/abc277/tasks/abc277_h 用: \(t(i,j,0)\) 表示 \(X_i \ge j\) 这个状态 \(t(i,j,1)\) 表示 \(X_i \lt j\) 这个状态 首先,对于任意 \(1 \le i \le
阅读全文
摘要:题目链接:https://www.luogu.com.cn/problem/P5903 解题思路来自 xht大佬的博客 示例程序: #include <bits/stdc++.h> using namespace std; #define ui unsigned int ui s; inline u
阅读全文
摘要:题目链接:https://www.luogu.com.cn/problem/P4211 主要是 树上差分。 思路来自 紫钦大佬的博客 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 5e4 + 5, mod =
阅读全文
浙公网安备 33010602011771号