The winning entry must fit the words in so that the number of blanks is maximized. There are 68 letters in the words which are listed below but they only occupy 52 squares in my grid so there are 48 blanks. You don't have to get this answer but the one which occupies the least squares (i.e. has the highest number of blanks) is the winner.
- As
- Be
- Cover
- Elderly
- Evil
- Fire
- Hen
- Invalid
- Merry
- Railway
- Recovery
- Roads
- Tred
- Worry
EvilIs ok, but
l
d
e
r
l
y
EEvilis not.
l
d
e
r
l
y
EEis not allowed either.
vl
id
le
r
l
y
However,
Evilis ok. The two Es are not next to each other horizontally or vertically.
E
l
d
e
r
l
y
Entering This Programming Challenge
You have to submit your application's source code to cplus.guide@about.com?subject=Programming Challenge 5.The program (either GUI or Command line is ok) should print out the ten x ten grid of words and show the number of squares occupied by your letters and the number of unused (ie blank). It might look like this.
Total Grid Squares used = 52
Blanks Squares = 48
Rules
This is for glory only. About.com does not permit prizes to be given.Please submit your source code to the cplus.guide@about.com?subject=Programming Challenge 5 email address with the subject line Programming Challenge 5. It must compile with Open Watcom, Microsoft Visual C++ 2005 Express Edition/Microsoft Visual Studio 2003/2005 or Borland Turbo C++ Explorer, Microsoft Visual C# 2005 Express Edition. If it doesn't compile, it can't be run so is automatically disqualified
Please include your name, age (optional), blog/website url (optional) and country. Your email address will not be kept, used or displayed except to acknowledge your challenge entry. You can submit as many entries as you like before the deadline which is October 31 2007.
The ten entries with the highest number of blanks will be listed. A condition of entry is that you allow your source code to be published on this website, with full credits to you as the author.
Have fun!
More Programming Challenges
- Link to Rock, Scissors and Paper Bot Ongoing Programming Challenge - Runs weekly until 2008.
- Link to Programming Challenge 1 - Completed
- Link to Programming Challenge 2 - Completed
- Link to Programming Challenge 3 - Completed
- Link to Programming Challenge 4 - Solve Mastermind Puzzle - Completed
- Link to Programming Challenge 6 - Search a Linked List Fast- Completed
- Link to Programming Challenge 7 - Validate Chess Positions - (Deadline December 31 2007)
- Link to Programming Challenge 8 - Score Texas Holdem Poker Hands - (Deadline January 31 2008)


