会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
o-Sakurajimamai-o
我永远喜欢樱岛麻衣
博客园
首页
新随笔
联系
订阅
管理
2023年8月30日
容斥原理
摘要: //容斥原理 //时间复杂度O(2^n-1) #include<bits/stdc++.h> #define int long long using namespace std; const int N=2e6+10; int n,m,res,p[N]; signed main() { cin>>n
阅读全文
posted @ 2023-08-30 12:21 o-Sakurajimamai-o
阅读(152)
评论(0)
推荐(0)
公告
-- --