Error
Fill a binary matrix (consisting of only zeros and ones) in a checkerboard pattern. There should be a null element in the top left corner.
Input The input line contains space-separated dimensions of the matrix: the number of rows N and the number of columns M (\( 1 <= N , M <= 100 \)).
N
M
Imprint The program should output the binary matrix row by row.
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking