Is painting the submatrix possible?

Revision en2, by rahul_1234, 2021-06-28 15:26:49

A matrix of size (m, n) is given, along with paint brush of size (x, y). The matrix contains few blocked cells, at which paint brush can't be applied. The task is to check if it is possible to pain submatrix (ab, b) within (m, n) or not, ensuring the constraints.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English rahul_1234 2021-06-28 15:27:22 10 Tiny change: 'le to pain submatrix (ab, b) withi' -> 'le to paint submatrix of size (a, b) withi'
en2 English rahul_1234 2021-06-28 15:26:49 2
en1 English rahul_1234 2021-06-28 15:26:09 298 Initial revision (published)