aboutsummaryrefslogtreecommitdiff
path: root/2022/19/a.rs
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-05 00:23:38 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-05 00:23:38 +0200
commit8064cfdd3a4432d44cd9334206d96a25ac83ec0c (patch)
treef140cd133552478cf293f3b3b08c12a4ddb9c4cf /2022/19/a.rs
parent061792ee76fcf2c2de3b0e966e6f5324fc9fe7bd (diff)
downloadaoc-8064cfdd3a4432d44cd9334206d96a25ac83ec0c.tar.gz
aoc-8064cfdd3a4432d44cd9334206d96a25ac83ec0c.zip
Revert wrong optimization
Diffstat (limited to '2022/19/a.rs')
-rw-r--r--2022/19/a.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/2022/19/a.rs b/2022/19/a.rs
index 7264579..57e83e6 100644
--- a/2022/19/a.rs
+++ b/2022/19/a.rs
@@ -8,7 +8,7 @@ fn main() {
8 let mut i = 1; 8 let mut i = 1;
9 let mut sum = 0; 9 let mut sum = 0;
10 for bp in read_blueprints_from_stdin() { 10 for bp in read_blueprints_from_stdin() {
11 let mg = most_geodes(&bp, Status::new(), MINUTES, &mut mem, 0); 11 let mg = most_geodes(&bp, Status::new(), MINUTES, &mut mem);
12 println!("{i}: {mg}"); 12 println!("{i}: {mg}");
13 sum += i * mg; 13 sum += i * mg;
14 mem.clear(); 14 mem.clear();

Generated with cgit - Back to sebastiano.tronto.net