题目描述 To earn some extra money, the cows have opened a restaurant in their barn specializing in milkshakes. The restaurant has N seats in a row. Initially, they are all empty. Throughout the day, there are M different events that happen in sequence at the restaurant . The tw...