~/algor $ cat duels/554
Duel #554
A 1v1 battle on the problem «Quarter of the year».
BATTLE OVER
Winner: Asadbek Xayrullayev
Technical win (the rival gave up)
Gave up (technical defeat)
Tests:
0/20
(0%)
Winner: Asadbek Xayrullayev
One of the players gave up — the winner gets a technical win.
Case-07
Case
Easy
1000 ms
64 MB
Quarter of the year
The number of a month $m$ is given. Determine which quarter of the year the month is in: quarter $1$ — months $1$, $2$, $3$; quarter $2$ — months $4$, $5$, $6$; quarter $3$ — months $7$, $8$, $9$; quarter $4$ — months $10$, $11$, $12$.
Sample tests
Input #1
5
Output #1
2
Input #2
12
Output #2
4
Battle results compared
1v1 reportAsadbek Xayrullayev
@akh1khayrullayev
Winner (technical)
Sojida Otaqulova
@sojida_otaqulova
Gave up
—
Solve time
—
0
Submissions
0
—
Language
—
—
Run time
—
Submission timeline (0)
All submissionsNo submissions yet.
Asadbek Xayrullayev won
One of the players gave up — the winner gets a technical win.
A
Asadbek Xayrullayev
Solution: Not solved
Rating: 1160 (+22)
S
Sojida Otaqulova
Solution: Not solved
Rating: 1258 (-22)
RIVAL FOUND!
1v1 DUEL IS STARTING
VS
15 minutes
Loading the arena...