diff options
Diffstat (limited to '06/src/part-1.rs')
-rw-r--r-- | 06/src/part-1.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/06/src/part-1.rs b/06/src/part-1.rs index 5a1660e..f1723e1 100644 --- a/06/src/part-1.rs +++ b/06/src/part-1.rs @@ -1,5 +1,11 @@ use std::io::{BufRead}; +/* + * This is an embarassingly naïve solution based on poor reading of + * the problem and thinking that the actual example printout had to + * be reproduced. Part 2 is solved in a much saner way. + */ + pub fn main() { let args: Vec<String> = std::env::args().collect(); if args.len() != 2 { panic!("Need exactly 1 argument"); } |