there field size 2 time 2 each cell field contain grass the value a_i j 1 cell j contain grass 0 otherwiseIn choose row column cut grass row column in word choose row x column y cut grass cell a_x cell a_i y 1 2 after cut grass cell ie value replace 0your task find minimum number move require cut grass nonempty cell field ie a_i j zerosYou answer t independent test case