challenge for programmable calculators
|
12-21-2013, 08:08 PM
Post: #4
|
|||
|
|||
RE: challenge for programmable calculators
Let me wait a few hours. I don't want my brute force solution to deter some clever individual from coming up with a better one.
Having said that, I did come up with a simple optimization that cuts the time to about 15 seconds and eliminates the false solution as well. I suppose I should also mention that this is in UserRPL. I may try SysRPL just for the fun of it. I've also got a RPN version that runs in under three seconds on an emulator. I'd like to get home and run it on real hardware before posting that one (the 50g is the only physical calculator I've got on me right now). Am I right in claiming two solutions? My programs are so simple and brute force that it's hard to imagine they're wrong, but I've been wrong before... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)