摘要: AB水题 C 只需考虑不重复串是否包括上重复串的那个字母这两种情况 #include <bits/stdc++.h> #define debug freopen("r.txt","r",stdin) #define mp make_pair using namespace std; typedef 阅读全文
posted @ 2020-04-15 23:30 Y-KnightQin 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 模板: #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 998244353; const int Max = 1e6 + 10; ll fact[Max],ifact[Max]; l 阅读全文
posted @ 2020-04-15 23:02 Y-KnightQin 阅读(385) 评论(0) 推荐(0) 编辑