Das Blinkenlights: Difference between revisions

From programming_contest
Jump to navigation Jump to search
Created page with "This problem gives us two blinking lights that blink at specified intervals, and asks if they will blink at the same time before some end-time. We can either brute force, or..."
(No difference)

Revision as of 22:33, 15 October 2018

This problem gives us two blinking lights that blink at specified intervals, and asks if they will blink at the same time before some end-time.

We can either brute force, or calculate the least common multiple (a*b/gcd).

Caterogy:ICPC Problems