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 1692. Flags for Provinces

sample output wrong
Posted by Rahul 14 Mar 2009 13:51
The sample output is wrong, it should be :
4
3 1 2 3
3 2 1 4
3 1 3 4
3 2 3 4
Re: sample output wrong
Posted by Pavel Khaustov [Tomsk PU] 14 Mar 2009 13:56
You are wrong! Color 3 is in 3 flags.
Re: sample output wrong
Posted by ken 14 Mar 2009 14:03
Why aren't they are:
4
2 1 2
2 1 4
2 2 3
2 3 4
Re: sample output wrong
Posted by Maxim Dvoynishnikov (Dnipropetrovsk SU) 14 Mar 2009 14:04
Read the task attentively.
Re: sample output wrong
Posted by HIV 14 Mar 2009 14:05
The 1st and 4th flag have no common color.
Re: sample output wrong
Posted by Swifty 14 Mar 2009 14:11
Can't it be:
4
2 1 4
2 1 3
2 2 3
2 2 4
???

Edited by author 14.03.2009 14:13
Re: sample output wrong
Posted by Swifty 14 Mar 2009 14:19
Sorry understood my mistake
Re: sample output wrong
Posted by victor_sch 14 Mar 2009 14:48
No, becouse any two flags must have one joint colour. So flags 1 4 and 2 3 are incorrect.