Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
[QUIZ] Weird Numbers (#57) Solution
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Hampton, post: 4495127"] I did mine with a good dose of humor. I certainly know that my weirdo_exhaustive is slow... hell, I called it both "weirdo" and "exhaustive". However, I thought of the fast solution as a bit of humor for everyone to enjoy. I do think it has merit in *some* ways only because its damn hard to make anything go faster than that. I did not mean any previous comments to be "i'm better than you" in any real way. They were all made tounge in cheek because of course just accessing an array is going to be orders of magnatude faster. These quizes are not for points and there is no "winner" (at least not that i've seen assigned in previous iterations of the quiz. In fact, there is never any qualifications for what makes the best one! And yes, I did use the wrong number set. I found the number set for primitive weird numbers, not exhaustive. I used this: [URL]http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A002975[/URL] As opposed to this: [URL]http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A006037[/URL] My mistake.... But, lets all be friends! How about a beer? -hampton c. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
[QUIZ] Weird Numbers (#57) Solution
Top