摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e5+5; 4 int tot,e[20]; 5 long long c[20][20]; 6 int a,b; 7 template<class t>void re 阅读全文
posted @ 2019-06-11 15:33 Achen_sy 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e5+5; 4 int tot,e[40]; 5 long long c[40][40]; 6 int l,r,k,b; 7 template<class t>voi 阅读全文
posted @ 2019-06-11 14:56 Achen_sy 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 和诸位巨佬不同,蒟蒻如我,只能想到怎么统计不满足windy数条件的数 就是个爆搜 定义c[i][j][k]表示第i位且前一位为j,k表示是否满足条件 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e5+5; 4 阅读全文
posted @ 2019-06-11 10:22 Achen_sy 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e3+5; 4 const int mod=1e9+7; 5 int n,m,mark; 6 char l[maxn],r[maxn]; 7 int numl,num 阅读全文
posted @ 2019-06-11 10:20 Achen_sy 阅读(99) 评论(0) 推荐(0) 编辑