Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
If the guards themselves do not know who will lie or tell the truth .. it changes the problem entirely .... (however, I'm not sure if there's a solution in that case ... O.o )
I was on this track as well, but I found that "famous" quote by working backwards .. ;) start at the end of the text, and look for common words, that famous quote kind of starts leaping out at you :)
Nice explanation Lopsy ... simple, clean :) I was going to say, take 4 angles and visually start reducing them to 0 .. think about what the star looks like as this happens ... the 5th angle keeps growing to accomodate ... until 4 angles are 0, and the 5th is 180 (ie a straight line) .. :) But I like Lopsy's explanation better .. ;)