Overclock.net - An Overclocking Community - View Single Post - Programming Challenges!
View Single Post
post #98 of (permalink) Old 12-31-2008, 05:50 PM
ToastedZergling
New to Overclock.net
 
ToastedZergling's Avatar
 
Join Date: Dec 2008
Posts: 2
Rep: 0
I have given the #10 Crackless Wall Puzzle using javascript, but I'm having a problem calculating the larger values. I can get up to W (18, 5) = 7958, but if I go much further up on the first parameter I get array out of bounds errors and other ugly messages. Does anyone think they could lend a spare set of eyes to see how I can improve this? I'm thinking I will have to modify the permute function, which I didn't write to begin with

=( Sad face at modifying other people's code, I like it when their work can just be a big black box.
ToastedZergling is offline