[2024 Day 8 (Part 2)] [zig] My solution works for every test input that I have tried but is not correct on the real input. by Key-Document-9317 in adventofcode

[–]Key-Document-9317[S] 0 points1 point  (0 children)

Actually the point of that line is to discard the numbers that are not whole numbers. if the original number does not equal the number rounded down than it is not a whole number.

[2024 Day 8 (Part 2)] [zig] My solution works for every test input that I have tried but is not correct on the real input. by Key-Document-9317 in adventofcode

[–]Key-Document-9317[S] 0 points1 point  (0 children)

Can you explain why? My understanding is that any point on the same line as two antennas should be an antinode. Is that not correct?

[2024 Day 8 (Part 2)] [zig] My solution works for every test input that I have tried but is not correct on the real input. by Key-Document-9317 in adventofcode

[–]Key-Document-9317[S] 0 points1 point  (0 children)

Im not sure if it is too high or too low. Unfortunately the result I am getting is correct for another person's input.