A simplified cron spec has two fields separated by a space: minute then
hour. Each field is ONE of:
*/k every k-th value starting at 0 (values where value % k == 0)
a,b,c a comma-separated list of items, where each item is either a
single value (5) or an inclusive range (6-8)
Minutes are 0-59, hours 0-23. For each time, print whether it matches the
spec.
Input Format:
Line 1: the cron spec (e.g. "*/15 9-17")
Line 2: n (number of times to check)
Lines 3 to n+2: one time per line in HH:MM (24-hour, zero-padded)
Output Format:
For each time, "match" or "no" on its own line.