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

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

^^ Thanks~.~

Post by kissksh »

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.


I got AC.

New poster
Posts: 2
Joined: Fri Jun 23, 2006 3:33 pm

Post by ahpc.Sad »

What an exciting problem! Wonderful!
Happy every day!

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

Re: 10982 - Troublemakers

Post by Bruno »

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

Code: Select all

 Removed after AC

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)”