当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
d1 d2 ... dn 0.0
- For a single route, the list of distances (in miles--there are 5,280 feet in a mile) from each station to the metro center hub,separated by one or more spaces. Stations are listed in ascending order, starting with the station closest to the metro center hub (station 1) and continuing to the outermost station. All distances are greater than zero. The list is terminated by the sentinel value 0.0.
v
- The maximum train velocity, in feet/minute.
s
- The constant train acceleration rate in feet/minute².
m
- The number of minutes a train stays in a station.
15.0 0.0 5280.0 10560.0 5.0 3.5 7.0 0.0 5280.0 10560.0 2.0 3.4 7.0 0.0 5280.0 10560.0 2.0 -1.0
Scenario #1 Meeting time: 7.8 minutes Meeting distance: 7.500 miles from metro center hub Scenario #2 Meeting time: 4.0 minutes Meeting distance: 3.500 miles from metro center hub, in station 1 Scenario #3 Meeting time: 4.1 minutes Meeting distance: 3.400 miles from metro center hub, in station 1
时间上限 | 内存上限 |
1000 | 30000 |