It's seems that even if we consider that the fly is always colliding with the same train (instead of zig-zagging between trains), the results are always the same.
Project Euler: Problem 5, Smallest multiple
412 Solvers
269 Solvers
Get the length of a given vector
3773 Solvers
Make a run-length companion vector
521 Solvers
Cell Counting: How Many Draws?
602 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!