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 1225. Flags

Confusing problem statement
Posted by Siroj Matchanov [TUIT] 27 Oct 2011 01:37
What is the number N ? Is it the number of colors or of flags?

From the problem discussion, it turns out to be a fibonacci sequence.
And...
N = 3   M = 4
N = 4   M = 6    ---------?? how come?
N = 5   M = 10
and etc...

How come M = 6 when N = 4?
Re: Confusing problem statement
Posted by Reinier Leyva Avila 11 Nov 2011 20:23
N, the number of the stripes, stripes isn't a color neither flags, it's just the columns of the table ;)


Edited by author 11.11.2011 20:24
Re: Confusing problem statement
Posted by Akyl 12 Mar 2012 02:52
Let red color is 1, white color is 2 and blue color is 3. We can get only 6 positions that correspond to our condition. They are 1321, 2132, 1321,2312,1212,2121, is it right?