摘要:
题目链接:https://www.luogu.com.cn/problem/P11225 前置知识: Hall 婚姻定理:可以问一下豆包(我是问豆包理解的) 高维前缀和,可以通过以下两道例题理解: arc100_c. Or Plus Max CF1208F. Bits And Pieces 然后就可 阅读全文
摘要:
题目链接:https://www.luogu.com.cn/problem/P4074 解题思路完全来自 oi.wiki 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 5; int n, m, Q 阅读全文