benchmarks.wiki / Public workspace

BIG-Bench Extra Hard (BBEH) / Sarah, Zoey and Sophia work from 9 to 5 their local time on weekdays. They want…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

input

Sarah, Zoey and Sophia work from 9 to 5 their local time on weekdays. They want to have a meeting some time this week.

The schedule for Sarah's week in their local time is as follows:
Monday: Free only at the following times: from 9:00 to 9:30, from 10:15 to 10:40, from 10:45 to 17:00
Tuesday: Booked at the following times: from 9:40 to 10:00, from 11:10 to 11:40, from 12:15 to 12:25, from 13:30 to 14:50
Wednesday: Free only at the following times: from 9:00 to 9:50, from 11:15 to 11:55, from 12:45 to 17:00
Thursday: Free only at the following times: from 9:00 to 10:15, from 11:00 to 12:00, from 13:00 to 17:00
Friday: Booked at the following times: from 10:10 to 10:20, from 10:25 to 11:05, from 11:05 to 12:35, from 13:45 to 14:20


The schedule for Zoey's week in their local time is as follows:
Monday: Booked at the following times: from 10:10 to 10:45, from 11:40 to 12:25, from 13:40 to 14:15, from 14:25 to 14:30
Tuesday: Free only at the following times: anytime before 9:50, from 10:20 to 10:25, from 10:55 to 17:00
Wednesday: Booked at the following times: from 10:15 to 10:20, from 10:30 to 11:15, from 11:35 to 11:55
Thursday: Free only at the following times: anytime before 9:10, from 9:25 to 10:15, from 11:45 to 12:40, from 12:50 to 17:00
Friday: Free only at the following times: from 9:00 to 10:25, from 10:55 to 11:30, anytime after 12:35


The schedule for Sophia's week in their local time is as follows:
Monday: Free only at the following times: from 9:00 to 9:05, from 9:50 to 9:50, from 11:00 to 17:00
Tuesday: Free only at the following times: anytime before 10:05, from 11:35 to 12:55, anytime after 14:00
Wednesday: Booked at the following times: from 9:25 to 10:00, from 10:50 to 10:55, from 11:50 to 12:05, from 13:30 to 13:45
Thursday: Free only at the following times: anytime before 9:50, from 11:05 to 11:55, from 12:15 to 17:00
Friday: Free only at the following times: from 9:00 to 9:45, from 11:10 to 12:35, anytime after 13:30


Sarah can clear their morning schedule from 9:00 to 9:45 (if blocked) everyday if needed
Zoey is fine to stay until 6pm to accommodate the meeting
Sophia can clear any meeting of 30 minutes or less from their schedule to accommodate the meeting
Let X be the length of the longest meeting (in minutes) that can be scheduled if the meeting has to start on the hour or half hour. Also, let Y be number of possible options of such meetings. Compute X and Y and report them separated by a comma (e.g., 45, 3). If X is 0, report 0, 0.

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import