An employee participates in a series of sprints, each spanning a certain number of days. On each day of a sprint, completing the required tasks yields a number of points equal to the day index within that sprint (e.g., 1 point on day 1, 2 points on day 2, etc.). The schedule is cyclic, meaning that after the last sprint finishes, it loops back to the first sprint.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected