展開全部
class abc{
public static void main(String args[]){
62616964757a686964616fe78988e69d8331333361326363int a[][] = new int[6][6];
int b[][] = new int[4][9];
for(int i = 0 ;i < a.length; i++){
for(int j = 0 ;j < a[i].length; j++){
a[i][j] = i*a.length+j;
System.out.print(a[i][j]+",");
}
System.out.println();
}
System.out.println();
for(int i = 0 ; i
for(int j = 0 ;j
b[i][j] = a[(i*b[i].length+j)/a.length][(i*b[i].length+j)%a.length];
System.out.print(b[i][j]+",");
}
System.out.println();
}
}
}