摘要: 链接: https://www.nowcoder.com/acm/contest/139/B 题意: 求满足以下条件的n*n矩阵A的数量模m:A(i,j) ∈ {0,1,2}, 1≤i,j≤n.A(i,j) = A(j,i), 1≤i,j≤n.A(i,1) + A(i,2) + ... + A(i, 阅读全文
posted @ 2018-07-23 18:57 Ctfes 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 链接: https://www.nowcoder.com/acm/contest/139/A 题意: 求满足以下条件的n*m矩阵A的数量模(1e9+7):A(i,j) ∈ {0,1,2}, 1≤i≤n, 1≤j≤m.A(i,j) ≤ A(i+1,j), 1≤i<n, 1≤j≤m.A(i,j) ≤ A 阅读全文
posted @ 2018-07-23 04:33 Ctfes 阅读(177) 评论(0) 推荐(0) 编辑