1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//! # Day 16: Aunt Sue
//!
//! Your Aunt Sue has given you a wonderful gift, and you'd like to send her a thank you card.
//! However, there's a small problem: she signed it "From, Aunt Sue".
//!
//! You have 500 Aunts named "Sue".
//!
//! So, to avoid sending the card to the wrong person, you need to figure out which Aunt Sue (which
//! you conveniently number 1 to 500, for sanity) gave you the gift. You open the present and, as
//! luck would have it, good ol' Aunt Sue got you a My First Crime Scene Analysis Machine! Just what
//! you wanted. Or needed, as the case may be.
//!
//! The My First Crime Scene Analysis Machine (MFCSAM for short) can detect a few specific compounds
//! in a given sample, as well as how many distinct kinds of those compounds there are. According to
//! the instructions, these are what the MFCSAM can detect:
//!
//! - `children`, by human DNA age analysis.
//! - `cats`. It doesn't differentiate individual breeds.
//! - Several seemingly random breeds of dog: [`samoyeds`], [`pomeranians`], [`akitas`], and
//!   [`vizslas`].
//! - `goldfish`. No other kinds of fish.
//! - `trees`, all in one group.
//! - `cars`, presumably by exhaust or gasoline or something.
//! - `perfumes`, which is handy, since many of your Aunts Sue wear a few kinds.
//!
//! In fact, many of your Aunts Sue have many of these. You put the wrapping from the gift into the
//! MFCSAM. It beeps inquisitively at you a few times and then prints out a message on
//! [ticker tape]:
//!
//! ```txt
//! children: 3
//! cats: 7
//! samoyeds: 2
//! pomeranians: 3
//! akitas: 0
//! vizslas: 0
//! goldfish: 5
//! trees: 3
//! cars: 2
//! perfumes: 1
//! ```
//!
//! You make a list of the things you can remember about each Aunt Sue. Things missing from your
//! list aren't zero - you simply don't remember the value.
//!
//! What is the **number** of the Sue that got you the gift?
//!
//! [`samoyeds`]: https://en.wikipedia.org/wiki/Samoyed_%28dog%29
//! [`pomeranians`]: https://en.wikipedia.org/wiki/Pomeranian_%28dog%29
//! [`akitas`]: https://en.wikipedia.org/wiki/Akita_%28dog%29
//! [`vizslas`]: https://en.wikipedia.org/wiki/Vizsla
//! [ticker tape]: https://en.wikipedia.org/wiki/Ticker_tape

use anyhow::Result;

pub const INPUT: &str = include_str!("d16.txt");

pub fn solve_part_one(input: &str) -> Result<i64> {
    Ok(0)
}

pub fn solve_part_two(input: &str) -> Result<i64> {
    Ok(0)
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn part_one() {}

    #[test]
    fn part_two() {}
}