Hello,

Did you see that in fact you should answer 0 for any cycle, for example
7
ab bc cd de ef fg ga 
So maybe it was not just a "stupid" bug, but a family of cases you forgot :/ (I 
did forgot it too the first time, but luckily we can do several attempts at the 
small input)

In any case, I think it happens to all of us to fail due to a stupid bug, 
though we had the good idea :(

Hope you the best for next year!

Astrid

Le dimanche 11 mai 2014 23:41:06 UTC+2, Paul Smith a écrit :
> Hello, I just want to scream because this morning I competed in round 1C, and 
> after about 2hrs I submitted a beautiful solution for this problem, with the 
> correct algorithm but with one small bug missing one case that makes a set of 
> trains impossible to arrange.
> 
> 
> 
> 
> (The 'edge' case is simply 2 ab ba.  It's possible to make both the as 
> continuous, or the bs continuous, but not both at the same time.  My code 
> gave this solution a 1 instead of a 0.  :( )
> 
> 
> 
> 
> Without that bug I would have made 35 points before the 2 hr mark, good for 
> about 650th place (and my holy grail of round 2)
> 
> 
> Sadly, I instead score 0 points and I'm out for this year.  I think you can 
> tell how much I enjoy this competition from my frustration at such a stupid 
> mistake!  I of course totally blame the Eurovision Song Contest being 
> broadcast the night before...
> 
> 
> 
> 
> Congratulations to everyone who made it through, commiseration to those who 
> didn't, and hope to compete with you all again next year!
> 
> 
> Thank you for reading my vent!
> 
> 
> 
> Paul Smith
> 
> [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/2a6f069e-2a3e-4721-990b-2dbe19bc02f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to