摘要: 视频链接:https://www.bilibili.com/video/BV16R4y1X7Fg/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 10010 阅读全文
posted @ 2022-10-08 21:35 董晓 阅读(606) 评论(0) 推荐(3)
摘要: 视频链接:https://www.bilibili.com/video/BV1Jd4y127oY/ Luogu P3807 【模板】卢卡斯定理/Lucas 定理 #include <iostream> using namespace std; typedef long long LL; const 阅读全文
posted @ 2022-10-08 21:34 董晓 阅读(979) 评论(3) 推荐(4)
摘要: 视频链接:G26 求组合数 快速幂_哔哩哔哩_bilibili #include <iostream> using namespace std; typedef long long LL; const int N=100010,P=1e9+7; int q,n,m; LL f[N],g[N]; LL 阅读全文
posted @ 2022-10-08 20:16 董晓 阅读(809) 评论(0) 推荐(2)