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 1003. Parity

Algorithm
Posted by Varun Sharma 12 Apr 2009 16:16
Hi Guys,

I am just wondering what kind og algorithm is needed to solve this problem ? I wrote some program but it is not working for harder test cases ? Do we need to build some kind of graph etc. to solve this problem ?

Thanks
Re: Algorithm
Posted by Pavel Otchertsov 14 Apr 2009 02:02
disjoint set ;)