|
|
back to boardn = 4 answer : 4 2 1 2 2 1 4 2 2 3 2 3 4 no. 1 2 & 3 4 does not have a common color my opinion answer: 4 3 1 2 3 3 1 2 4 3 1 3 4 3 2 3 4 The right answer for n=4 is k=3 3 3 1 2 3 3 1 2 4 2 3 4 Previous answer << 4 3 1 2 3 3 1 2 4 3 1 3 4 3 2 3 4 >> is wrong because the 1st colour is used 3 times. Because my proposed answer is k=3, so the answer in problemset is right. Authors did not use the 4th colour because they can make 3 flags with 3 colours. It is only their choice. Smilodon_am, MegaThanks You! ЗЫ: коварное условие :) PS: insidious conditions :) "he doesn't want any colour to occur in three or more flags" read whole problem ;) |
|
|