advent-of-code-2022/day07
Felix Albrigtsen bb9331d9ed Improved readme day07 2022-12-07 12:18:41 +01:00
..
src day07 part 2 and cleanup 2022-12-07 12:13:51 +01:00
README.md Improved readme day07 2022-12-07 12:18:41 +01:00
input.txt day07 part 1 2022-12-07 12:02:44 +01:00
input_demo.txt day07 part 1 2022-12-07 12:02:44 +01:00
pom.xml day07 part 1 2022-12-07 12:02:44 +01:00

README.md

Build

mvn package

Run

java -cp target/aoc07-1.0-SNAPSHOT.jar com.felixalb.app.App input.txt

Read

Code is located in src/main/java/com/felixalb/app/

Sample

$ java -cp target/aoc07-1.0-SNAPSHOT.jar com.felixalb.app.App input_demo.txt                                                                                                       [12:16:33]
Lines: 23
Commands: 10
/ (48381165)
|  a (94853)
|  |  e (584)
|  |  |  i (584)
|  |  f (29116)
|  |  g (2557)
|  |  h.lst (62596)
|  b.txt (14848514)
|  c.dat (8504156)
|  d (24933642)
|  |  j (4060174)
|  |  d.log (8033020)
|  |  d.ext (5626152)
|  |  k (7214296)

Total size: 48381165


Part 1: 95437
Part 2: 24933642