diff options
author | Gard Spreemann <gspr@nonempty.org> | 2021-12-15 18:01:27 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2021-12-15 18:01:27 +0100 |
commit | 8eeb90e99569158473915f8b55b59e81f70c19d5 (patch) | |
tree | da8066991857adf0aece05efce6073177a1a64a4 | |
parent | 4da4fa3cbfbf8603651ad0155616b048c2e7bc7e (diff) |
Note
-rw-r--r-- | 08/src/part-2.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/08/src/part-2.rs b/08/src/part-2.rs index a11e7b9..8daca24 100644 --- a/08/src/part-2.rs +++ b/08/src/part-2.rs @@ -4,6 +4,14 @@ use std::io::{BufRead}; use crate::bitfield::{Bitfield, parse_input}; +/* + * This is a terrible, brute-force solution of day 8. I spent way too + * long on a better solution that I never got working, so here's the + * brute-force. + * +*/ + + // This is embarassingly inefficient, and full of completely needless // allocations. I just wanna get day 8 done! fn perms(x: Vec<usize>) -> Vec<Vec<usize>> { |