Description
Solutions
Submission
Last to Be Checked 🐳

In the bustling excitement of an event's beginning, attendees flock eagerly, each with their own story to tell. As time ticks on from the event's start, they queue up for an ID check, a gateway to the festivities. But there's a catch – only 10 hopefuls can stand in line at once.

Your mission? Find out when the last person's ID will be checked, measured in seconds from the event's kickoff.

For original prompt, pls refer to source images π–‘Όπ–€£π–₯§π–‘Όπ“‹Όπ–€£π–₯§π“‹Όπ“Š

Example 1:

Input:  moments = [1, 6, 9, 502]
Output: 1201
Explanation:
Explanation not found κ’°ΰ¦ŒπŸ¦¦ΰ»’κ’±
Constraints:
    Unknown for now
Thumbnail 0
Thumbnail 1
Testcase

Result
Case 1

input:

output: