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

Function main

1710-maximum-units-on-a-truck.rs:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11fn main() {
12 let box_types = [[1,3],[5,5],[2,5],[4,2],[4,1],[3,1],[2,2],[1,3],[2,5],[3,2]].map(|e|e.to_vec()).to_vec();
13 let truck_size = 35;
14 println!("{:?}", maximum_units(box_types, truck_size));
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected