Recently I have encountered a difficult problem.
Given a matrix with size n * m (1 <= n, m <= 1500) consist of only 0 and 1, count the number of submatrix contains exactly k 1's. (0 <= k <= 6).
Could you help me to find an approach for this problem? Thanks
This problem is from the Codeforces.
http://codeforces.net/problemset/problem/364/E?mobile=false
Could you give me link to the problem?
Fixed: Thanks