Y by ImSh95, Mango247
Sheldon was really annoying Leonard. So to keep him quiet, Leonard decided to do something. He gave Sheldon the following grid

and asked him to transform it to the new grid below

by only applying the following algorithm:
At each step, Sheldon must choose either two rows or two columns.
For two columns
, if
are entries in
respectively, then we say that
and
are corresponding if they belong to the same row. Similarly we define corresponding entries of two rows. So for Sheldon's choice, if two corresponding entries have the same parity, he should do nothing to them, but if they have different parities, he should add 1 to both of them.
Leonard hoped this would keep Sheldon occupied for some time, but Sheldon immediately said, "But this is impossible!". Was Sheldon right? Justify.

and asked him to transform it to the new grid below

by only applying the following algorithm:







Leonard hoped this would keep Sheldon occupied for some time, but Sheldon immediately said, "But this is impossible!". Was Sheldon right? Justify.
This post has been edited 2 times. Last edited by Severus, Jan 24, 2021, 10:15 PM