ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1431. Diplomas

[AESC USU] Golubev_Sanja How the diplomas must alternate? [3] // Problem 1431. Diplomas 25 Feb 2006 14:44
[AESC USU] Golubev_Sanja Re: How the diplomas must alternate? [2] // Problem 1431. Diplomas 25 Feb 2006 15:46
Что значит "строгое чередование"?
Aleksandr Klepinin Re: How the diplomas must alternate? [1] // Problem 1431. Diplomas 25 Feb 2006 23:05
It means that, for example, sequence
1 2 1 2 1 2 1
is valid, while sequence
1 1 2 1 2 1 1
is invalid.
More precise: if we put two different types of diploma into the same row, then no two diploma of the same type should be adjacent.
Denis Koshman Re: How the diplomas must alternate? // Problem 1431. Diplomas 25 Jul 2008 17:59
and total number of diplomas must be odd