Professional Documents
Culture Documents
Codechef Easy qn3
Codechef Easy qn3
C Programming
Code-Chef Submission
QUESTION: 3: ROWCOLOP
EASY
You are given an N × N grid initially filled by zeros. Let the rows and
columns of the grid be numbered from 1 to N, inclusive. There are
two types of operations can be applied to the grid: