Page 5 of 5

Re: 10054 - The Necklace

Posted: Thu Feb 27, 2014 2:13 am
by brianfry713
Try running your code on the sample input.

Re: 10054 - The Necklace

Posted: Wed Feb 18, 2015 5:31 am
by Lyrrad
Here's a test case that tripped me up, even though the others posted here worked.

Code: Select all

1
6
1 2
2 3
3 4
4 5 
5 1
3 3

Re: 10054 - The Necklace

Posted: Mon Nov 16, 2015 5:00 am
by pakhandi
I got AC when I check if there is any odd degree node but get WA when I don't check this..
Can you give me a test case for such a scenario?