Open suryaprakashpandey opened 9 months ago
👋🏽 hi I'd like to take a crack at this problem. I didn't know how you specifically wanted me to submit the code, so I did it the usual way created a clone -> new branch -> main.py file and submitted a pull request.
I would like to work on this issue using python language -Vaishnavi Mahajan. Cummins college of engineering.(SY) Can you please assign this issue to me .
issue resolved #143 https://github.com/Google-Developer-Student-Club-CCOEW/Competitive-Programming-2023-GDSC-CUMMINS-X-GDSC-MMCOE/issues/143
On Sat, 21 Oct 2023 at 18:05, Piyusha2512 @.***> wrote:
Assigned #143 https://github.com/Google-Developer-Student-Club-CCOEW/Competitive-Programming-2023-GDSC-CUMMINS-X-GDSC-MMCOE/issues/143 to @vaishnavim141003 https://github.com/vaishnavim141003.
— Reply to this email directly, view it on GitHub https://github.com/Google-Developer-Student-Club-CCOEW/Competitive-Programming-2023-GDSC-CUMMINS-X-GDSC-MMCOE/issues/143#event-10731238711, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TPB6VRXLG5FBADM6ABG7DYAO6RRAVCNFSM6AAAAAA5QG657OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG4ZTCMRTHA3TCMI . You are receiving this because you were assigned.Message ID: <Google-Developer-Student-Club-CCOEW/Competitive-Programming-2023-GDSC-CUMMINS-X-GDSC-MMCOE/issue/143/issue_event/10731238711 @github.com>
Write code in the preferred language and attach output with it.
You are given the arrival and leaving times of n customers in a restaurant.
What was the maximum number of customers in the restaurant at any time?
Input The first input line has an integer n: the number of customers.
After this, there are n lines that describe the customers. Each line has two integers a and b: the arrival and leaving times of a customer.
You may assume that all arrival and leaving times are distinct.
Output Print one integer: the maximum number of customers.
Example:
Input: 3 5 8 2 4 3 9 Output: 2