Question 1
A traffic light repeats a cycle starting at $t = 0$: Green for $31$ s, Yellow for $5$ s, and Red for $23$ s. What color is the light at $t = 152$ s?
Xem đáp án và lời giải
Đáp án: Yellow
Một chu kỳ dài $31 + 5 + 23 = 59$ giây. Ta có $152 \equiv 34 \pmod{59}$, nên tại giây thứ $152$ đèn đang bật màu Yellow.