Commit Graph

11 Commits

Author SHA1 Message Date
29b5dcdf62 Change signature for solution. 2019-08-22 12:28:52 +02:00
c16ef40d73 Correct formatting. 2019-02-18 15:13:48 +01:00
2f0c8ef2d4 Replace format("{}") with .to_string() where possible. 2018-12-22 10:07:14 +01:00
f23624c456 Fix all clippy warnings. 2018-12-17 12:26:31 +01:00
9b287a0098 Prepare future scaffolding.
Also reformat the code, but that is nothing significant.
2018-12-09 13:02:54 +01:00
c44ebaa238 Refactor grouping count into a trait. 2018-12-06 16:19:52 +01:00
d53100e591 Move sample and input files.
IDEA doesn't like files without extension.
2018-12-06 15:43:28 +01:00
28d38470a6 Move sample input to separate files. 2018-12-05 10:43:58 +01:00
3d68f20097 Slightly more efficient and compact code.
This version loops the input twice, first to build the claims, and then
to check whether they have been claimed more than once.
2018-12-05 09:53:42 +01:00
43eeacc686 Rework previous regex use. 2018-12-04 13:49:16 +01:00
9a0f24d6bb Implement day 3.
Wasted way too much trying to do this cleverly.
2018-12-03 10:41:38 +01:00