А
B
D
Railway Station
Problem Description
Given schedule of trains and their stoppage time at a Railway Station, find minimum number of platforms needed.
Note -
If Train A's departure time is x and Train B's arrival time is x, then we can't accommodate Train B on the same platform as Train A.
- Constraints
1 <= N <= 1045
0 <= a <= 86400
0<b<= 86400
Number of platforms > 0
· Input
First line contains N denoting number of trains.
time and stoppage time of train.
Answers
Answered by
8
Answer:
Plese ack one by one
Explanation:
Mark me as brainli
Answered by
1
Answer:
plx mark as brainlist plxxxxxxxx I rqst uh dear plxx I hope you will do that
Similar questions