A thousand small cubes with a volume of 1 cubic centimeter are combined to form a large cube with a side length of 10 cm. The surface of the large cube is painted and then divided into original small cubes. These small cubes have at least one side painted. How many are there?
一千个体积为1立方厘米的小正方体合在一起成为一个边长为10厘米的大正方体，大正方体表面涂油漆后再分开为原来的小正方体，这些小正方体至少有一面被油漆涂过的数目是多少个？
<gadget id="calculator">10 * 10 * 10</gadget>
<output>1_000</output>

<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>