Driver Code
public static void Main ( String [ ] args ) { n = 2 ; k = 1 ; for ( int i = 0 ; i < 1024 ; i ++ ) for ( int j = 0 ; j < 2048 ; j ++ ) for ( int K = 0 ; K < 2 ; K ++ ) for ( int l = 0 ; l < 2 ; l ++ ) dp [ i , j , K , l ] = - 1 ;