We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3378b commit 3a95adbCopy full SHA for 3a95adb
src/year2024/day13.rs
@@ -56,5 +56,5 @@ fn play(&[ax, ay, bx, by, mut px, mut py]: &Claw, part_two: bool) -> i64 {
56
a /= det;
57
b /= det;
58
59
- if part_two || (a <= 100 && b <= 100) { 3 * a + b } else { 0 }
+ 3 * a + b
60
}
0 commit comments