Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat duels/876

Duel #876

A 1v1 battle on the problem «Lesson end time».

@qurbonovmurodbek · Elo: 1212 (+22) · Pupil
Winner (technical win)
Tests: 0/20 (0%)
BATTLE OVER Winner: Murodbek Qurbonov Technical win (the rival gave up)
@malikaxanim_08 · Pupil · Elo: 1309 (-22)
Gave up (technical defeat)
Tests: 0/20 (0%)

Winner: Murodbek Qurbonov

One of the players gave up — the winner gets a technical win.

Integer-42 Integer Medium 1000 ms 64 MB

Lesson end time

Lessons start at hours minutes. Each lesson lasts minutes, and there is a -minute break between two consecutive lessons. Find the hour and the minute when lesson ends. For example, if lessons start at , and , lesson ends at .

Diagram of the sequence of lessons and breaks

Sample tests

Input #1
8 0 45 5 2
Output #1
9 35
Input #2
13 30 40 10 1
Output #2
14 10

Battle results compared

1v1 report
Murodbek Qurbonov
@qurbonovmurodbek
Winner (technical)
Malika Sharipova
@malikaxanim_08
Gave up
— Solve time —
0 Submissions 0
— Language —
— Run time —

Submission timeline (0)

All submissions

No submissions yet.

Murodbek Qurbonov won

One of the players gave up — the winner gets a technical win.

M Murodbek Qurbonov
Solution: Not solved
Rating: 1212 (+22)
M Malika Sharipova
Solution: Not solved
Rating: 1309 (-22)
Start a new duel