12 2022 档案
摘要:P1450 硬币购物 容斥 || + 单调队列优化 容易看出是个多重背包,然后拿单调队列优化一下后,计算量为 这种做法的话就是单调队列优化板子题 #include <bits/stdc++.h> using namespace std; typedef long long
阅读全文
摘要:CHASE! 概率 + 双指针 占个坑,说明补了这题,题解没时间写了,先咕咕了 #include <bits/stdc++.h> using namespace std; typedef long long ll; const double eps = 1e-8; int dcmp(dou
阅读全文