2018多校第一场A——Monotonic Matrix

连接:https://www.nowcoder.com/acm/contest/139/A 来源:牛客网  c++ 题目描述 Count the number of n x m matrices A satisfying the following condition modulo (109+7). * Ai, j ∈ {0, 1, 2} for all 1 ≤ i ≤ n, 1 ≤ j ≤ m.
相关文章
相关标签/搜索