Ohhh Thanx...
How could I have missed this !!!
Anyways, Thanx a lot .
Search found 2 matches
- Mon Feb 04, 2013 1:59 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10004 - Bicoloring
- Replies: 93
- Views: 45647
- Mon Feb 04, 2013 12:10 am
- Forum: Volume 100 (10000-10099)
- Topic: 10004 - Bicoloring
- Replies: 93
- Views: 45647
Re: 10004 - Bicoloring
I cant understand why am I getting a WA here,seems to be an easy problem, I have tried this many times checked manually on many test cases but still getting WA..
I'm doing a BFS here , taking 0th node as source and coloring it 0 , and then checking each adjacent node of parent and if not colored ...
I'm doing a BFS here , taking 0th node as source and coloring it 0 , and then checking each adjacent node of parent and if not colored ...