思路示意图:
|-------->
<----
----------->
<----
-------->|
total time: T,
waling time is the same as driving time (both are T).so walked distance is T.
walking time: T
driving time: 3(1000-T)/10 + T/10;
solve T = 3(1000-T)/10 + T/10.
solution: T = 250 s
|-------->
<----
----------->
<----
-------->|
total time: T,
waling time is the same as driving time (both are T).so walked distance is T.
walking time: T
driving time: 3(1000-T)/10 + T/10;
solve T = 3(1000-T)/10 + T/10.
solution: T = 250 s