Implement a per-client sliding-window rate limiter. A request from a client at
time t is ALLOWED when the client has fewer than N allowed requests in the
window (t - W, t] — i.e., strictly newer than t - W, up to and including t.
Denied requests do NOT count against the window.
Input Format:
Line 1: W N (window seconds, max allowed per window)
Line 2: m (number of requests)
Lines 3 to m+2: t client_id (t is an integer; lines are in
non-decreasing t order)
Output Format:
One line per request, in input order: ALLOW or DENY