class Kadai{
public static void main
(String[] args
){ /*1はここから*/
int[][]a=new int[2][3];
for(int i = 0; i < a.length; i++)
for(int j = 0; j < a[i].length; j++)
/*ここまで*/
/*2はここから*/
int[][]b={
{0,0,0,},
{0,0,0}
};
for(int i = 0; i < b.length; i++)
for(int j = 0; j < b[i].length; j++)
/*ここまで*/
/*3はここから*/
int[][]c={
new int[3],
new int[3]
};
/*ここまで*/
for(int i = 0; i < c.length; i++)
for(int j = 0; j < c[i].length; j++)
/*ここまで*/
/*4はここから*/
int[][] d;
d=new int[2][];
d[0]=new int[3];
d[1]=new int[3];
for(int i = 0; i < d.length; i++)
for(int j = 0; j < d[i].length; j++)
/*ここまで*/
}
}
Y2xhc3MgS2FkYWl7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKXsKICAgICAgICAvKjHjga/jgZPjgZPjgYvjgokqLwogICAgICAgIGludFtdW11hPW5ldyBpbnRbMl1bM107CiAgICAgICAgZm9yKGludCBpID0gMDsgaSA8IGEubGVuZ3RoOyBpKyspCiAgICAgICAgICAgIGZvcihpbnQgaiA9IDA7IGogPCBhW2ldLmxlbmd0aDsgaisrKQogICAgICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludChhW2ldW2pdKTsKICAgICAgICAvKuOBk+OBk+OBvuOBpyovCiAgICAgICAgLyoy44Gv44GT44GT44GL44KJKi8KICAgICAgICBpbnRbXVtdYj17CiAgICAgICAgICAgIHswLDAsMCx9LAogICAgICAgICAgICB7MCwwLDB9CiAgICAgICAgfTsgCiAgICAgICAgZm9yKGludCBpID0gMDsgaSA8IGIubGVuZ3RoOyBpKyspCiAgICAgICAgICAgIGZvcihpbnQgaiA9IDA7IGogPCBiW2ldLmxlbmd0aDsgaisrKQogICAgICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludChiW2ldW2pdKTsKICAgICAgICAvKuOBk+OBk+OBvuOBpyovCiAgICAgICAgLyoz44Gv44GT44GT44GL44KJKi8KICAgICAgICBpbnRbXVtdYz17CiAgICAgICAgICAgIG5ldyBpbnRbM10sCiAgICAgICAgICAgIG5ldyBpbnRbM10KICAgICAgICB9OwogICAgICAgIC8q44GT44GT44G+44GnKi8KICAgICAgICBmb3IoaW50IGkgPSAwOyBpIDwgYy5sZW5ndGg7IGkrKykKICAgICAgICAgICAgZm9yKGludCBqID0gMDsgaiA8IGNbaV0ubGVuZ3RoOyBqKyspCiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KGNbaV1bal0pOwogICAgICAgIC8q44GT44GT44G+44GnKi8KICAgICAgICAvKjTjga/jgZPjgZPjgYvjgokqLwogICAgICAgIGludFtdW10gZDsgCiAgICAgICAgZD1uZXcgaW50WzJdW107IAogICAgICAgIGRbMF09bmV3IGludFszXTsgCiAgICAgICAgZFsxXT1uZXcgaW50WzNdOwogICAgICAgIGZvcihpbnQgaSA9IDA7IGkgPCBkLmxlbmd0aDsgaSsrKQogICAgICAgICAgICBmb3IoaW50IGogPSAwOyBqIDwgZFtpXS5sZW5ndGg7IGorKykKICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoZFtpXVtqXSk7CiAgICAgICAgLyrjgZPjgZPjgb7jgacqLwogICAgfQp9