Distinct Rows and Columns
The complexity of an binary matrix is the number of distinct rows and columns.
For example, consider the matrices
has complexity because the set of rows and columns is .
has complexity because the set of rows and columns is .
For , let be the minimum complexity of an binary matrix with exactly ones.
Let
For example, .
You are given , and .
Find .
不同的行与列
对于一个的矩阵,其复杂度等于其不同的行与列的数量。
例如,考虑如下的矩阵
的复杂度为,因为它不同的行与列构成的集合为。
的复杂度为,因为它不同的行与列构成的集合为。
对于,记为的矩阵中,包含恰好个的此类矩阵的最小复杂度。
记
例如,。
已知,,。
求。
Gitalking ...