摘要: bilibili 阅读全文
posted @ 2024-10-12 19:48 ccxswl 阅读(27) 评论(1) 推荐(2) 编辑
摘要: 回退背包,感觉挺牛的,之前没见过。 https://www.luogu.com.cn/record/181645733 https://h.hszxoj.com/d/hztg/p/362 https://www.luogu.com.cn/problem/P4141 https://h.hszxoj. 阅读全文
posted @ 2024-10-12 19:45 ccxswl 阅读(7) 评论(0) 推荐(1) 编辑
摘要: 什么把模数因数分解+crt 之前没见过。 ans % m1 = x1 ans % m2 = x2 ... ans % mi = xi #include <bits/stdc++.h> using namespace std; using ubt = long long; int read() { i 阅读全文
posted @ 2024-10-12 19:21 ccxswl 阅读(8) 评论(0) 推荐(2) 编辑