2651. Calculate Delayed Arrival Time
You are given a positive integer
arrivalTimedenoting the arrival time of a train in hours, and another positive integerdelayedTimedenoting the amount of delay in hours.Return the time when the train will arrive at the station.
Note that the time in this problem is in 24-hours format.
1 | class Solution { |