会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gmh77
Don't forget.Always,somewhere,someone is fighting for you. As long as you remember her,you are not alone. 如果有密码的话就是本人oj的uid号
博客园
首页
新随笔
联系
订阅
管理
2020年9月21日
牛客挑战赛43 D-数组操作
摘要: 题目描述 题解 因为晚上摸鱼去了所以没打 设i有p个0q个1,则i的EGF(乘上(p+q)后)为 \(A=0:pe^{p+q}-p\) \(A=1:pe^{p+q}+q\) 分治卷起来之后求x^k即可,特判p=q=0 code #include <bits/stdc++.h> #define fo(
阅读全文
posted @ 2020-09-21 22:43 gmh77
阅读(131)
评论(0)
推荐(0)
公告