each cube has six sides, but only four colours. All four cubes are different:
my @cube1=("Y","G","Y","Y","B","R"); my @cube2=("G","B","G","Y","B","R"); my @cube3=("R","B","Y","Y","R","G"); my @cube4=("Y","G","G","R","B","R");
where cube0 is front 1:right 2:right 3:left 4:top 5:bottom (looking from the front)
Objective: Arrange the cubes in a way what all four sides are showing rows with four colours (eg. YGBR). No sides should have same colours twice.
没有任何数据可供显示