Driver Code
public static void Main ( ) { char [ , ] A = new char [ , ] { { '1' , '0' , '0' } , { '0' , '0' , '0' } , { '0' , '0' , '0' } } ; char [ , ] B = new char [ , ] { { '0' , '0' , '0' } , { '0' , '0' , '0' } , { '0' , '0' , '0' } } ; int K = 3 ; Console . WriteLine ( minMoves ( A , B , K ) ) ; } }