Implement a payment model for delivery dashers. The payment is based on the time spent on each order and the number of concurrent deliveries. Given a sequence of order activities for a dasher within a single day, calculate the total pay according to the following rules:
Ask AI Assistant

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