Question: c++ 2 Given a binary matrix A (elements of which are only 1 or 0) with size NxM (23Ns 100, 23Mx1000). Write a program that
Given a binary matrix A (elements of which are only 1 or 0) with size NxM (23Ns 100, 23Mx1000). Write a program that finds a square block with maximal size that consists of only 1's and output this founded size; (8 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
