An engineering team originally planned to build a road of 3 kilometers in 10 days. In fact, 380 meters of roads were built every day for the first three days, and 465 meters of roads were built every day thereafter. How many days was the task actually completed in advance?
某工程队原计划10天修路3千米．实际上，前3天每天修路380米，以后每天修路465米．实际提前几天完成了任务？
<gadget id="calculator">3 * 1_000</gadget>
<output>3_000</output>

<gadget id="calculator">380 * 3</gadget>
<output>1_140</output>

<gadget id="calculator">3_000 - 1_140</gadget>
<output>1_860</output>

<gadget id="calculator">1_860 / 465</gadget>
<output>4</output>

<gadget id="calculator">3 + 4</gadget>
<output>7</output>

<gadget id="calculator">10 - 7</gadget>
<output>3</output>

<result>3</result>