The following was originally a list of five-letter words, but in each case two consecutive letters (though never the first two) have been removed. The 26 missing letters are all different. What was the original list?
A N T
A S S
B A Y
C O Y
D I M
E E L
F A R
M A R
P I E
S E E
T I E
T O P
W I N
(In reply to
Why, oh why? by brianjn)
My program works with files that contain no carriage-return/line-feeds. The words are strung together so that a 5-letter word in words5.txt adds only 5 bytes to the file. So a portion within the L's looks like:
...legallegerlegesleggylegitlehrslehualemanlemmalemonlemurlends...
If your file has a CR-LF pair for each word, you need to make w$ two bytes longer than 5 and then somehow chop off the CRLF before using it as a word. Alternatively, when GETting, you could first GET the 5-letter word and then a 2-byte throwaway CRLF. Or you could keep track of where you are in the file and specify the starting location to GET, as the first parameter of the GET statement.
|
Posted by Charlie
on 2013-05-02 10:14:08 |