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

Function main

1603-design-parking-system.rs:25–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25fn main() {
26 let mut obj = ParkingSystem::new(1, 1, 0);
27 println!("{:?}", obj.add_car(1));
28 println!("{:?}", obj.add_car(2));
29 println!("{:?}", obj.add_car(3));
30 println!("{:?}", obj.add_car(1));
31}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected