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

Why fo N = 6 answer is 16 instead of 14?
Posted by IlyaGrebenyuk 17 Jan 2020 16:03
Ya popitalsya perebrat' vse varianti dlya N = 6 i smog naschitat' tolko 14 vot oni:
1. WRWRWR    9. WRWRBW
2. RWRWRW   10. RWRWBR
3. WBRWRW   11. WBRBWR
4. RBWRWR   12. RBWBRW
5. WRBWRW   13. WRBWBR
6. RWBRWR   14. RWBRBW
7. WRWBRW   15. ??????
8. RWRBWR   16. ??????
Kakie dva ya upustil?
Re: Why fo N = 6 answer is 16 instead of 14?
Posted by LadoBago 2 Mar 2020 14:14
15. WBRWBR
16. RBWRBW