mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 05:10:32 +01:00
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:
@@ -1,6 +1,7 @@
|
||||
extern crate clap;
|
||||
extern crate chrono;
|
||||
extern crate regex;
|
||||
#[macro_use] extern crate itertools;
|
||||
use clap::{Arg, App};
|
||||
use std::fs;
|
||||
use std::io;
|
||||
|
||||
Reference in New Issue
Block a user