diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-04-08 12:40:30 -0400 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-04-09 10:21:36 -0400 |
| commit | 9282e95e8844afe856ba76ceb6d2c3010df8bb1a (patch) | |
| tree | e35affc89b20324371381e079f7cb5f8a06aa81b /src/21/part2 | |
| parent | 2b5d4232879dc74491dabf54a0ddc958d66ebcec (diff) | |
| download | aoc2020-zig-master.tar.gz aoc2020-zig-master.zip | |
Diffstat (limited to 'src/21/part2')
| -rw-r--r-- | src/21/part2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/21/part2 b/src/21/part2 new file mode 100644 index 0000000..0e35f5d --- /dev/null +++ b/src/21/part2 @@ -0,0 +1,22 @@ +--- Part Two --- + +Now that you've isolated the inert ingredients, you should have enough information to figure out +which ingredient contains which allergen. + +In the above example: + + + - mxmxvkd contains dairy. + - sqjhc contains fish. + - fvjkl contains soy. + + +Arrange the ingredients [1m[37malphabetically by their allergen[0m and separate them by commas to +produce your [1m[37mcanonical dangerous ingredient list[0m. (There should [1m[37mnot be any +spaces[0m in your canonical dangerous ingredient list.) In the above example, this would be +[1m[37mmxmxvkd,sqjhc,fvjkl[0m. + +Time to stock your raft with supplies. [1m[37mWhat is your canonical dangerous ingredient +list?[0m + + |
