We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88201f3 commit 25de1c7Copy full SHA for 25de1c7
src/main/java/aminetti/adventofcode2024/day03/Day03.java
@@ -49,18 +49,18 @@ public long solvePart2() {
49
String fullMatch = matcher.group(0);
50
if (fullMatch.startsWith("mul")) {
51
if (mulEnabled) {
52
- LOGGER.info("Executing {}", fullMatch);
+ LOGGER.debug("Executing {}", fullMatch);
53
Long a = Long.valueOf(matcher.group(1));
54
Long b = Long.valueOf(matcher.group(2));
55
sum += a * b;
56
} else {
57
- LOGGER.info("Skipping {}", fullMatch);
+ LOGGER.debug("Skipping {}", fullMatch);
58
}
59
} else if (fullMatch.startsWith("do()")) {
60
- LOGGER.info("Enabling {}", fullMatch);
+ LOGGER.debug("Enabling {}", fullMatch);
61
mulEnabled = true;
62
} else if (fullMatch.startsWith("don't()")) {
63
- LOGGER.info("Disabling {}", fullMatch);
+ LOGGER.debug("Disabling {}", fullMatch);
64
mulEnabled = false;
65
66
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments