Refactor main to match format used
Signed-off-by: Eoghan Conlon <git@eoghanconlon.ie>
This commit is contained in:
parent
7019c0c884
commit
3e1ded4380
1 changed files with 8 additions and 0 deletions
|
@ -64,5 +64,13 @@ public class Main {
|
|||
System.out.printf("Part 1 answer = %d (%dms)\n", d2_p1, day02_p1);
|
||||
System.out.printf("Part 2 sample = %d (%dms)\n", d2_p2_sample, day02_p2_sample);
|
||||
System.out.printf("Part 2 answer = %d (%dms)\n", d2_p2, day02_p2);
|
||||
|
||||
start = System.currentTimeMillis();
|
||||
int day03_p1 = day03.part1();
|
||||
long day03_p1_t = System.currentTimeMillis() - start;
|
||||
|
||||
System.out.printf("Day 3 init took %dms\n", day03_init);
|
||||
System.out.printf("Day 3 part 1 (sample): %d (%dms)\n", day03_p1_sample, day03_p1_sample_t);
|
||||
System.out.printf("Day 3 part 2 : %d (%dms)", day03_p1, day03_p1_t);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue