(In the case of the 50-star flag, the rows alternate between six and five stars.) For numbers that conveniently arrange into rectangles—like six rows of eight for 48 stars—a simple matrix suffices.
(以50星条旗为例,每行五颗、六颗星星交替排列)对于那些可以方便的排列成矩形的星星数量-像是48颗星,可以排列成为4*8模式-就可直接以矩阵方式排列。
(In the case of the 50-star flag, the rows alternate between six and five stars.) For numbers that conveniently arrange into rectangles—like six rows of eight for 48 stars—a simple matrix suffices.
(以50星条旗为例,每行五颗、六颗星星交替排列)对于那些可以方便的排列成矩形的星星数量-像是48颗星,可以排列成为4*8模式-就可直接以矩阵方式排列。
应用推荐