Re: Fun Test Problem
- Posted by useless May 22, 2010
- 1733 views
There's not enough info to do this.
The problem example is:
-- first, the dictionary list of "You may assume that all known words provided are unique.":
40 abc
41 bca
42 dac
43 dbc
44 cba
-- now, the "recieved" and garbled unknown words:
45 (ab)(bc)(ca)
46 abc
47 (abc)(abc)(abc)
48 (zyx)bc
49
-- now the supposedly true results? :
50 Output
51 Case #1: 2 -- cannot be true, could also match several others
52 Case #2: 1 -- obviously, it's in the dictionary of known words
53 Case #3: 3 -- could match any known, and many unknown words
54 Case #4: 0 -- obviously true, no z, y, or x
So something is wrong somewhere. I mean besides needing to use the double backslashes to get newlines, and the 4 dashes in some places to get the 2-dash Eu comment format.
useless
edit by Derek to demonstrate alternative creoles tag so Kat doesn't have to use forced-line breaks etc ...