View Single Post
Old 09-23-2010, 11:57 AM   #31
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Starson17 View Post
The first rule of taking a test, even one for fun: read the problem statement very carefully. How about this regular expression for an answer:
Code:
.*
I believe it succeeds at matching "any palindrome."
And I, as the marker, would have to give you credit. Wouldn't be the first time I was caught out for writing bad questions. The good part is that it is almost always the good students who figure out the ambiguity.
chaley is offline