我需要创建一系列阵列。
int x[][] = new int[20][3];
where the indexes of x are the vertices of a dodecahedron(just labeled 0-19 since the dodecahedron has 20 vertices), and the elements of x[0-19] are the neighbor vertices. If this is not clear take this sample:
int y[][] = {{ 1, 5, 4}, { 0, 7, 2}, { 1, 9, 3}, { 2, 11, 4},
{ 3, 13, 0}, { 0, 14, 6}, { 5, 16, 7}, { 1, 6, 8},
{ 7, 9, 17}, { 2, 8, 10}, { 9, 11, 18}, {10, 3, 12},
{19, 11, 13}, {14, 12, 4}, {13, 5, 15}, {14, 19, 16},
{ 6, 15, 17}, {16, 8, 18}, {10, 17, 19}, {12, 15, 18}};
在这种样本阵列中,y [0][0-2]
指向外围0,即1,4。 根据这一规定,y? contain 页: 1
我只想在这个阵列中写字,而我想随意写一下。