diff --git a/Boolean Matrix b/Boolean Matrix new file mode 100644 index 000000000..ab21cdb6a --- /dev/null +++ b/Boolean Matrix @@ -0,0 +1,70 @@ +// { Driver Code Starts + +#include +using namespace std; + + // } Driver Code Ends + + + +class Solution +{ +public: + void booleanMatrix(vector > &A) + { + // code here + int row[A.size()]={0},col[A[0].size()]={0}; + for(int i=0;i>t; + while(t--) + { + int row, col; + cin>> row>> col; + vector > matrix(row); + for(int i=0; i>matrix[i][j]; + } + } + + Solution ob; + ob.booleanMatrix(matrix); + + + for (int i = 0; i < row; ++i) + { + for (int j = 0; j < col; ++j) + { + cout<