Jim,
Here is my submission that ran in 70 milliseconds on my 5 1/2 year old
G4 450 MHz tower:
set cursor to watch
put the milliseconds into t
put fld "ChemSymbols" into c
put fld "dictionary" into d
repeat for each line L in d
if c contains char 1 to 2 of L and c contains char 3 to 4 of L\
and c contains char 5 to 6 of L and c contains char 7 to 8 of L\
and c contains char 9 to 10 of L then
put L & CR after o
end if
end repeat
put the milliseconds -t into t
put o into fld "Output"
put "time=" & t && "msecs" after fld "Output"
Cheers,
Glenn
On Jul 20, 2005, at 3:40 PM, Jim Hurley wrote:
For my fellow puzzle addicts:
Here is this weeks NPR puzzle (Sunday Weekend edition)
Sunday Puzzle
By Will Shortz
Challenge for July 24:
A 10-letter word for a form of travel, that consists of five
consecutive symbols of chemical elements. What is it? If automobile
had been the answer, AU, would represent Gold, MO would represent
Molybdenum, and BI, would represent Bismuth. Unfortunately, the
remaining bigrams, TO and LE, are not chemical symbols.
I have put up a stack with two fields. The first contains all 10
letter words in my dictionary.
The second contains all two character elements from the periodic
table.
You task, should you choose to adopt it, is to write a Run Rev
handler to solve this weeks NPR puzzle defined above.
In the message box:
go stack url "http://home.infostations.net/jhurley/NPRpuzzle.rev"
Jim
__________________________
--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED] http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution