- Matrix, prefix, prefix-sum

Count number of square sub matrices of given matrix whose sum of all cells is equal to S | Set 2

#include using namespace std;void find_prefixsum(int M, int N, vector& arr,                    vector& dp){        for (int i = 0; i