MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / main

Function main

1184-distance-between-bus-stops.rs:10–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10fn main() {
11 let distance = vec![1, 2, 3, 4];
12 let start = 0;
13 let destination = 1;
14 println!("{:?}", distance_between_bus_stops(distance, start, destination));
15 let distance = vec![7,10,1,12,11,14,5,0];
16 let start = 7;
17 let destination = 2;
18 println!("{:?}", distance_between_bus_stops(distance, start, destination));
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected