benchmarks.wiki / Public workspace
BIG-Bench Extra Hard (BBEH) / Rachel, Charlotte, Isabella, Lisa, Zoey and Emma work from 9 to 5 their local…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
input
Rachel, Charlotte, Isabella, Lisa, Zoey and Emma work from 9 to 5 their local time on weekdays. They want to have a meeting some time this week. The schedule for Rachel's week in their local time is as follows: Monday: Free only at the following times: anytime before 10:05, from 11:15 to 11:25, from 11:45 to 17:00 Tuesday: Free only at the following times: from 9:00 to 9:10, from 10:15 to 11:00, from 11:50 to 13:20, anytime after 13:45 Wednesday: Free only at the following times: from 9:00 to 9:30, from 10:50 to 11:25, anytime after 12:00 Thursday: Booked at the following times: from 10:20 to 11:45, from 12:40 to 13:45, from 15:10 to 15:35 Friday: Booked at the following times: from 10:00 to 10:25, from 11:35 to 12:55 The schedule for Charlotte's week in their local time is as follows: Monday: Free only at the following times: from 9:00 to 9:05, from 10:35 to 11:25, from 12:00 to 13:30, from 13:55 to 14:05, from 15:30 to 17:00 Tuesday: Booked at the following times: from 9:25 to 10:45, from 11:45 to 13:10 Wednesday: Free only at the following times: anytime before 9:15, from 10:35 to 11:20, from 12:15 to 12:15, from 13:00 to 13:15, anytime after 14:15 Thursday: Booked at the following times: from 9:40 to 11:05, from 12:05 to 13:10, from 13:10 to 14:15, from 14:40 to 15:25 Friday: Free only at the following times: anytime before 9:15, from 9:30 to 9:30, from 9:45 to 10:10, anytime after 11:15 The schedule for Isabella's week in their local time is as follows: Monday: Free only at the following times: anytime before 10:20, from 11:15 to 11:20, from 12:15 to 12:45, from 12:50 to 17:00 Tuesday: Booked at the following times: from 9:45 to 10:25, from 11:25 to 12:25, from 12:55 to 13:45 Wednesday: Booked at the following times: from 10:20 to 10:45, from 11:45 to 12:50, from 13:25 to 14:50 Thursday: Booked at the following times: from 10:00 to 11:15, from 12:25 to 12:50, from 14:00 to 14:35 Friday: Free only at the following times: from 9:00 to 9:55, from 11:20 to 12:30, from 13:55 to 15:00, from 16:30 to 16:35, from 16:45 to 17:00 The schedule for Lisa's week in their local time is as follows: Monday: Free only at the following times: anytime before 10:20, from 10:35 to 10:55, from 12:15 to 13:45, from 14:15 to 15:05, from 15:55 to 17:00 Tuesday: Free only at the following times: anytime before 9:30, from 9:40 to 10:30, from 11:35 to 11:45, from 12:55 to 17:00 Wednesday: Free only at the following times: from 9:00 to 9:55, from 11:10 to 12:40, from 13:30 to 17:00 Thursday: Free only at the following times: from 9:00 to 9:35, from 10:50 to 12:05, from 13:35 to 14:30, from 14:40 to 17:00 Friday: Free only at the following times: anytime before 10:15, from 11:35 to 12:50, from 13:45 to 14:50, anytime after 15:35 The schedule for Zoey's week in their local time is as follows: Monday: Booked at the following times: from 9:50 to 10:55, from 11:15 to 11:50, from 12:05 to 13:05 Tuesday: Booked at the following times: from 10:30 to 11:20, from 11:50 to 13:10, from 14:05 to 15:00, from 16:20 to 16:55 Wednesday: Booked at the following times: from 10:20 to 11:05, from 11:20 to 11:25, from 12:00 to 13:05, from 14:05 to 14:55 Thursday: Booked at the following times: from 9:05 to 10:00, from 10:40 to 10:55 Friday: Free only at the following times: from 9:00 to 10:25, from 10:40 to 10:50, from 12:20 to 12:50, from 14:05 to 14:30, from 14:35 to 17:00 The schedule for Emma's week in their local time is as follows: Monday: Free only at the following times: from 9:00 to 9:30, from 10:35 to 12:05, from 12:50 to 13:30, from 13:35 to 14:00, from 14:25 to 17:00 Tuesday: Booked at the following times: from 10:20 to 11:20, from 11:35 to 11:55, from 13:20 to 14:45, from 16:10 to 16:25 Wednesday: Booked at the following times: from 10:10 to 11:00, from 12:10 to 13:35, from 14:50 to 15:55, from 16:05 to 16:55 Thursday: Booked at the following times: from 10:00 to 10:50, from 11:35 to 12:55, from 13:25 to 13:35, from 14:10 to 14:15 Friday: Free only at the following times: anytime before 10:15, from 10:55 to 11:50, from 12:25 to 13:10, from 13:15 to 14:00, anytime after 15:15 Rachel is fine to stay until 6pm to accommodate the meeting Charlotte feels tired late in the day and requires the meeting to end before 4pm Isabella prefers long meetings on Tuesdays and Fridays and accepts new meetings on these two days only if they are at least 30 minutes long Lisa asks the meeting to be scheduled such that she has at least 10 minutes of free time before the meeting (the free time must fall within her 9am to 5pm) Zoey needs a break for lunch on Wednesday from 12:30 to 1:00 Emma is flexible to miss the last (at most) 10 minutes of 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
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
initial import