All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
Consecutive Cuts (Posted on 2013-04-30) Difficulty: 3 of 5
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

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Why, oh why? | Comment 5 of 6 |
(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
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information