Use small cubes with a side length of m to assemble a large cube with a side length of 12, and now paint the surfaces (6 sides) of the big cube red, among which only one side of the small cube is red and only two sides are red The number of small cubes is equal, then m=how much.
用棱长为m的小正方体拼成一个棱长为12的大正方体，现将大正方体的表面(6个面)涂成红色，其中只有一个面是红色的小正方体与只有两个面是红色的小正方体的个数相等，则m=多少．
<result>3</result>