Am I a bad programmer if..

Hey All, I recently found out I am through to the next round of a programming competition, and so I am trying to prepare myself. Is it bad if I cannot do the following program?
Edit: I'll rather post the link:
Constructive criticism would be most appreciated
Last edited on
Study basic graph algorithms and you'd know how to solve this. It is very easy.
Last edited on
Doesn't mean you're a bad programmer, just lack the knowledge to tackle this problem. Like what rapidcoder said, this is just a problem of graph theory.
I wouldn't worry about it, just try and learn some maths. I'm the same - I'm pretty weak on maths-heavy stuff because I haven't studied it. Hopefully my computer science degree will remedy that.
Thanks for the responses, I will be sure to study that up.
Topic archived. No new replies allowed.