Compare commits
1 Commits
318edb6310
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| bcf108f604 |
@@ -15,7 +15,7 @@ public class Problem3b {
|
|||||||
String maxDigits = maxKDigitsString(line, 12);
|
String maxDigits = maxKDigitsString(line, 12);
|
||||||
total += Long.parseLong(maxDigits);
|
total += Long.parseLong(maxDigits);
|
||||||
}
|
}
|
||||||
System.out.println("Total maximum joltage: " + total);
|
System.out.println(total);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user