10.24 test3 T2

题干 solution 对于位运算来说,每一位是独立的,所以单独考虑每一位,然后用乘法原理乘起来 dp[i][j]表示前i行中j列有1的方案数 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int p=1e9+7; int read() {
相关文章
相关标签/搜索