41 lines
712 B
Markdown
41 lines
712 B
Markdown
### 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
|
|
```
|