Skip to content

Commit d6ed9ef

Browse files
committed
output time taken to solve
1 parent 366736c commit d6ed9ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/codefork/aoc2024/Problem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ public Stream<String> getSampleInput() {
7070
* run the solution
7171
*/
7272
public void run() {
73+
var start = System.currentTimeMillis();
7374
System.out.println(solve());
75+
System.out.printf("Took %dms%n", System.currentTimeMillis() - start);
7476
}
7577

7678
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy