This commit is contained in:
2026-05-15 20:16:56 -04:00
parent 87edd89c87
commit ee1d23f182
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -7,6 +7,8 @@ usage:
solves for the least number of materials needed given a priority solves for the least number of materials needed given a priority
input is just the stats in order shown in wynncraft
``` ```
> priority wood paper grains string oil meat > priority wood paper grains string oil meat
``` ```
+3 -2
View File
@@ -143,8 +143,9 @@ fn validate_priority(priority: &Priority) -> bool {
fn usage() { fn usage() {
println!("usage:"); println!("usage:");
println!(" > solve 41/63 50/60 55/55 43/64 60/66 51/55 48/59 41/63"); println!(" > solve 41/63 50/60 55/55 43/64 60/66 51/55 48/59 41/63");
println!(" solves for the least number of materials needed given a priority, eg:");
println!(" 10: [Wood, Grains, String, String, Oil, Meat, Meat, Gem, Gem, Gem]"); println!(" 10: [Wood, Grains, String, String, Oil, Meat, Meat, Gem, Gem, Gem]");
println!(" solves for the least number of materials needed given a priority"); println!(" input is just the stats in order shown in wynncraft");
println!(" > priority wood paper grains string oil meat"); println!(" > priority wood paper grains string oil meat");
println!(" sets the material priority for solving (what to use and what to try first)"); println!(" sets the material priority for solving (what to use and what to try first)");
} }