随笔分类 -  技巧

摘要:回退背包,感觉挺牛的,之前没见过。 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 阅读(11) 评论(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 阅读(14) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up light_mode palette
选择主题