One thousand small cubes with a volume of 1 cubic centimeter are combined into a large cube with a side length of 10 cm. After the surface is painted, they are divided into original small cubes. What is the number of these small cubes that are painted on at least one side?
一千个体积为1立方厘米的小立方体合成一个边长为10厘米的大立方体，表面涂漆后再分开成原来的小立方体，这些小立方体至少一面被涂过的数目是？
<gadget id="calculator">10 - 2</gadget>
<output>8</output>

<gadget id="calculator">8 * 8 * 8</gadget>
<output>512</output>

<gadget id="calculator">1_000 - 512</gadget>
<output>488</output>

<result>488</result>