767. Window into a Matrix II

A window into a matrix is a contiguous sub matrix.

Consider a 16×n matrix where every entry is either 0 or 1. Let B(k,n) be the total number of these matrices such that the sum of the entries in every 2×k window is k.

You are given that B(2,4)=65550 and B(3,9)87273560(mod1000000007).

Find B(105,1016). Give your answer modulo 1000000007.

767. 矩阵的窗口 2

一个矩阵的任意一个连续子矩阵均被称为这个矩阵的窗口。

记:所有大小为 16×n 的 01 矩阵中,有 B(k,n) 个矩阵,满足:其任意一个大小为 2×k 的窗口中的元素之和为 k

已知:B(2,4)=65550B(3,9)87273560(mod1000000007)

B(105,1016)1000000007 的值。


这个链接 回到源站。

这个链接 回到详细版题目目录。