summaryrefslogtreecommitdiff
path: root/advent/src/12.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2019-12-17 19:00:40 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2019-12-17 19:00:40 -0500
commit622e873e20df7f069716cbc30c2b683f70a67434 (patch)
treebf56181458786d5671a944e7b7cdb581b170e941 /advent/src/12.rs
parent768013f6a304ae044465f1d9d32fd720114afa1e (diff)
my own input
Diffstat (limited to 'advent/src/12.rs')
-rw-r--r--advent/src/12.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/advent/src/12.rs b/advent/src/12.rs
index 3396d62..14dfe0b 100644
--- a/advent/src/12.rs
+++ b/advent/src/12.rs
@@ -117,9 +117,15 @@ fn main() {
make_moon(5, 5, 10),
make_moon(2, -7, 3),
make_moon(9, -8, -3),
- ));
+ ));
+ let _ex3 = Moons(vec!(
+ make_moon(-1, 7, 3),
+ make_moon(12, 2, -13),
+ make_moon(14, 18, -8),
+ make_moon(17, 4, -4),
+ ));
run_steps(_ex1, 10, false);
println!();
- run_steps(_ex2, 1000, false);
+ run_steps(_ex3, 1000, false);
}