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.
This commit is contained in:
2018-12-03 14:20:34 +01:00
parent 38db4487e3
commit 3d68f20097
3 changed files with 24 additions and 29 deletions

View File

@@ -7,3 +7,4 @@ authors = ["Bert Peters <bert@bertptrs.nl>"]
clap = "2.32"
regex = "1.1.0"
chrono = "0.4.6"
itertools = "0.7.11"