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

~/algor $ cat duels/862

Duel #862

A 1v1 battle on the problem «Angles of the clock hands».

@faxridinovfirdav · Elo: 1168 (-15) · Newbie
Gave up (technical defeat)
Tests: 0/20 (0%)
BATTLE OVER Winner: Sherzod Jabborov Technical win (the rival gave up)
@jabborov_1777 · Pupil · Elo: 1215 (+15)
Winner (technical win)
Tests: 0/20 (0%)

Winner: Sherzod Jabborov

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

Integer-31 Integer Easy 1000 ms 64 MB

Angles of the clock hands

seconds have passed since the start of the day. Find by how many degrees clockwise from the number the hour hand and the minute hand have turned. At the start of the day both hands point to . The hands move uniformly: the hour hand makes a full turn ( degrees) in hours, the minute hand in minutes.

A clock face: the hour and minute hands; the angle of each from the number 12 is marked with an arc

Sample tests

Input #1
12000
Output #1
100 120
Input #2
45299
Output #2
17 209

Battle results compared

1v1 report
Firdavs Faxridinov
@faxridinovfirdav
Gave up
Sherzod Jabborov
@jabborov_1777
Winner (technical)
— Solve time —
0 Submissions 0
— Language —
— Run time —

Submission timeline (0)

All submissions

No submissions yet.

Sherzod Jabborov won

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

F Firdavs Faxridinov
Solution: Not solved
Rating: 1168 (-15)
S Sherzod Jabborov
Solution: Not solved
Rating: 1215 (+15)
Start a new duel