10982 - Troublemakers

All about problems in Volume 109. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

kissksh
New poster
Posts: 3
Joined: Sat Sep 24, 2005 10:11 am
Contact:

^^ Thanks~.~

Post by kissksh » Sun Feb 12, 2006 2:21 pm

sclo wrote:
output can be
1 3 4 / or / 2 / or / 2 3 ???
Then May I print one of them?
Yes, you can print any of them. This is special judge problem.

Thanks.

I got AC.

ahpc.Sad
New poster
Posts: 2
Joined: Fri Jun 23, 2006 3:33 pm
Contact:

Post by ahpc.Sad » Fri Jun 23, 2006 3:38 pm

What an exciting problem! Wonderful!
Happy every day!

Bruno
New poster
Posts: 22
Joined: Thu Oct 01, 2009 9:03 pm

Re: 10982 - Troublemakers

Post by Bruno » Tue Jun 14, 2011 1:20 am

What is wrong with my code (WA), I am using Per idea:

Code: Select all

 Removed after AC
Edit--

The random idea is very cool :D, my mistake was that the total of pairs must be at most m/2 on both rooms, not m/2 in each one.. Thank you Igor for clarifying that for me!

Post Reply

Return to “Volume 109 (10900-10999)”