会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
返回顶部
Charles1999
积少成多,不负自我。
博客园
首页
新随笔
联系
订阅
管理
2020年9月17日
洛谷 P3807 【模板】卢卡斯定理
摘要: 预处理阶乘。纯板子,做一下保存。 #include <bits/stdc++.h> using namespace std; const int maxn=1e5+10; typedef long long ll; ll frac[maxn]; void get(int p){ frac[0]=1;
阅读全文
posted @ 2020-09-17 18:37 Charles1999
阅读(77)
评论(0)
推荐(0)
编辑
公告