~/algor $ cat duels/865
Duel #865
A 1v1 battle on the problem «Day of the year».
Winner: Murodbek Qurbonov
One of the players gave up — the winner gets a technical win.
Day of the year
A date of a non-leap year is given: day and month . Determine which day of the year it is: January 1 is day , December 31 is day . Months have days, months have days, and February has days.
Sample tests
3 2
34
31 12
365
Battle results compared
1v1 reportSubmission timeline (0)
All submissionsNo submissions yet.
Murodbek Qurbonov won
One of the players gave up — the winner gets a technical win.