Re: $100.00 Programming Contest
- Posted by Kat <gertie at PELL.NET> Mar 01, 2002
- 549 views
On 1 Mar 2002, at 20:48, Robert Craig wrote: > > David Cuny writes: > > > 0. Will all words appear in Junko's dictionary? > > Not necessarily, but you can count on the vast majority > of them being there, say 90% or more. > > > 1. Does case matter? That is, the encrypted > > string "This is encrypted" and > > "THIS IS ENCRYPTED" are essentially the same thing. > > You'll know the case from the case of letters in the input. > Your output should have the same case. > Maybe I don't understand what you mean. But words.txt is all caps. Will you be doing that annoying LeTtEr CaSe sWiTcHiNg? Will 'T' = 't' , because the webpage on the contest gave only this as an example of the "decode using this key" : For example, if the standard input file is: PQRSTUVZABCDEFGHWXYIJKLMNO No absolute definition as to what 't' is. > > 2. Can anything that isn't a character (other than apostrophes) > > be treated as whitespace? For example: > > > > "This-is encrypted!\n\n" > > > >is basically: > > > > { "THIS", "IS", "ENCRYPTED" } > > Junko's dictionary does contain some hyphenated words. > A hyphen could be considered part of a word, > but in many cases it could be considered a separator > between two words. Maybe I'll defer for now the decision about > whether to include hyphenated words in the input. Well, that will certainly make it more difficult to verify words. Kat