Editorial:
Problem setter: Ishrak Tawsif Nirob
Alternate Solution writer: Shaiful Islam Ramim
This problem can be solved by a N*N loop. At first, we need to find the actual size of the straight line consisting of ‘*’. If there are multiple straight lines consisting of ‘*’ image is corrupted. Otherwise, count the number of ‘*’ in a straight line and print the square of that number. The image might not contain any ‘*’ which will also be considered as corrupted image.