Page 1 of 1
11861 - Explosion
Posted: Wed Oct 13, 2010 7:03 pm
by jurong
Do you have any ideas to solve this problem?
....
Re: 11861-Explosion
Posted: Thu Oct 14, 2010 12:52 am
by Leonid
I haven't yet wrote the code for it, but it seems a
SAT-2 problem ignoring the clauses with 3 variables. Given there are only 5 such clauses with 3 variables, I think the solution can possibly be complimented by a bruteforce.
Re: 11861-Explosion
Posted: Sat Oct 30, 2010 1:45 pm
by peratu
I have a doubt with this problem...
3 x y means that either x or y must be absent
How is possible that the solution of case 1 is "2 1 3", if the sampre input for case 1 says "3 2 1", that means "2" or "1" must be absent?
Re: 11861-Explosion
Posted: Thu Nov 04, 2010 4:52 pm
by Jan
2 1 3 means that 2 people are invited and they are 1 and 3. Hope it answers your question.
Re: 11861-Explosion
Posted: Thu Nov 04, 2010 4:55 pm
by peratu
Jan wrote:2 1 3 means that 2 people are invited and they are 1 and 3. Hope it answers your question.
Yes, sorry.
I already self-answered my question yesterday, but I forgot to delete my question.
Thanks anyway.
Re: 11861 - Explosion
Posted: Tue Dec 02, 2014 3:39 pm
by the black sky
Can somebody tell me what is the diffrerence between "either x or y should be present in the meeting." and "either x or y must be present but not both." ?
![:(](./images/smilies/icon_frown.gif)
Re: 11861 - Explosion
Posted: Wed Dec 03, 2014 12:59 am
by brianfry713
1 x y means that either x or y or both should be present in the meeting.
4 x y means that either x or y must be present but not both.