$ java --version
java 13.0.1 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
Input file: ./input.txt
Part 1: 159
Part 2: 6419669520
- install JDK and make sure
javac
andjava
are avaialble in$PATH
$ make