A cube is painted red on each of its faces. Then cut it into small cubes with side lengths of 1 cm. It is known that there are 24 small cubes painted on both sides. What is the edge length of the big cube in centimeters?
一个正方体，在它的每个面上都涂上红色．再把它切成棱长是1厘米的小正方体．已知两面涂色的小正方体有24个，大正方体的棱长是多少厘米．
<gadget id="calculator">24 / 12</gadget>
<output>2</output>

<gadget id="calculator">1 * 2</gadget>
<output>2</output>

<gadget id="calculator">2 + 2</gadget>
<output>4</output>

<result>4</result>