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(2): Why, oh why? Comment 6 of 6 |
(In reply to re: Why, oh why? by Charlie)

Well then, what could be easier than taking my original list and removing all of the spaces so that I get a massive string?  Then taking the program listing and have the OPEN point to this new list?
Alas I still get one line of zeroes.  Just as a "safety" check I included PRINT w$,len(w$) which reports a list of  "(word[x])" 5.
----------------------------------
I had posted the above earlier in the day.  Charlie graciously sent me an email which contained his wordlist along with his program listing. Copying both to the root of QB64 and pointing the OPEN statement to the word file worked.  But, other than the pointer to the word list my copied listing was the same.  Quandary! On opening Charlie's word list in Notebook so as to make some comparisons with mine came a startling revelation, our list were in different case! Changing the lowercase 13 3-letter words in the DATA statement to uppercase and pointing OPEN to my list proved that there was nothing wrong with third word list after all.

Why all of the bother?  I sense that a modification of the program construct might help me determine the solution(s) of something I'd like to propose.

Many thanks Charlie.

Edited on May 3, 2013, 2:21 am
  Posted by brianjn on 2013-05-02 23:23:40

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 (15)
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