fixed 3b solution

This commit is contained in:
2025-12-03 22:24:44 -06:00
parent 318edb6310
commit bcf108f604

View File

@@ -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();
} }