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 1124. Mosaic

Specal cases...
Posted by Yashar Abbasov 13 May 2008 16:02
What are they? Are there any tricky tests? My prog passes all tests on webboard, however i got WA#11. My method is simple:
First I find the box where the amount of foreign pieces is maximum. Then I start to move each piece to its own box... If the pieces in this box are arranged successfully then I again move to the box where the amount of foreign pieces is maximum and so on until all pieces are in their own boxes...

Where is my mistake?

Edited by author 13.05.2008 16:05
Re: Specal cases...
Posted by Zhang Xun 16 Jun 2008 05:43
Me WA#10 too...
I don't know why...