Non-overlapping Square Submatrices (Id-11982)
Author: SkillRack
The program must accept an integer matrix of size RxC as the input. The program musi print all possible non-overlapping square submatrices
given matrix as the output. The non-overlapping square submatrices must be printed in increasing order of size.
Boundary Condition(s):
2 <=RC= 30
Input Format:
The first line.contains Rand C separated by a space.
The next Rlines, each contains Cintegers separated by a space.
Output Format:
The lines containing the non-overlapping square submatrices.
Example input/Output 1:
Input
48 89 68 28 30
9 99 98 37 68
29 67 70 21 2
32 19 72 89 53
1
OUTOUT:
48 89
93 89
68 28
9837
2967
32 19
70 21
72.89
49 89 68
93 89 98
Answers
Answered by
0
Answer:
897098
hjun of mop75ez ...........
Similar questions