Thursday, September 5, 2013

UVa 10815 - Andy's first dictionary

Andy's first dictionary is an interesting problem which looks quite simple. I got it right at the 5th attempt because, I missed reading the key sentence of the problem: In this problem, a word is defined as a consecutive sequence of alphabets, in upper and/or lower case.
After seeing the key sentence, AC wasn't far off!
Just wanted to say so much :-) 
One more spoiler: here's the source code.

No comments:

Post a Comment