In total there are 12x12x12 or 123 cubes with edge length 1cm. Each cube has twelve edges, so the sum of the lengths of the edges on one cube is 12cm. Therefore the total length of all the edges of all the centimeter cubes is 123 x12= 124 cm