A tortoise and a rabbit run a 1000-meter race, and the speed of the rabbit is 5 times that of the tortoise. When they set off together from the starting point, the tortoise kept running. The rabbit ran to a certain place and began to sleep. When the rabbit woke up, the tortoise was 500 meters ahead of it. meters, so how many meters did the tortoise run while the rabbit was sleeping?
龟和兔进行1000米赛跑，兔子的速度的龟的5倍．当它们从起点一起出发后龟一直不停地跑，兔子跑到某一地点开始睡觉，兔子醒来时，龟已经领先它500米，兔子奋起直追，当龟到达终点时，兔子仍落后10米，那么兔子睡觉期间龟跑了多少米？
<gadget id="calculator">1_000 - 10</gadget>
<output>990</output>

<gadget id="calculator">990 / 5</gadget>
<output>198</output>

<gadget id="calculator">1_000 - 198</gadget>
<output>802</output>

<result>802</result>