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

Function main

1833-maximum-ice-cream-bars.rs:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13fn main() {
14 let costs = vec![1,6,3,1,2,5];
15 let coins = 20;
16 println!("{:?}", max_ice_cream(costs, coins));
17 println!("{:?}", max_ice_cream(vec![1,3,2,4,1], 7));
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected