Brain Game
Moderator: Dust
- Dust
- The Boss
- Posts: 9093
- Joined: 01 Jan 1970 01:00
- Contact:
Brain Game
http://projecteuler.net/
This page has some interesting problems to solve. I currently solved 4... but I haven't given up yet! :)
This page has some interesting problems to solve. I currently solved 4... but I haven't given up yet! :)
I do what I think is right. But I don't think that what I think is right can not be wrong.
- Eple
- Posts: 39
- Joined: 25 Apr 2008 22:25
- Location: Trondheim, Norway
- Contact:
Re: Brain Game
Some of those problems are just insane.
In one of them you had to find 2^1000 and the find the sum of all the digits
Won't even try to bend my mind enough to solve the first one.
In one of them you had to find 2^1000 and the find the sum of all the digits
Won't even try to bend my mind enough to solve the first one.
- Darkhawk
- Posts: 68
- Joined: 04 Jun 2008 00:02
- Location: Belgium, Antwerp
- Contact:
Re: Brain Game
Thats all math, i hate math. Would have ben a lot more fun to play if it was like spacial problems or somthing like that.
A question that sometimes drives me hazy: am I or are the others crazy?
- Dust
- The Boss
- Posts: 9093
- Joined: 01 Jan 1970 01:00
- Contact:
Re: Brain Game
Yes, some are quite tricky :)
I am currently at 11 solutions though. I spent a long time writing a prime number toolkit in lua to solve some of them.
I am currently at 11 solutions though. I spent a long time writing a prime number toolkit in lua to solve some of them.
I do what I think is right. But I don't think that what I think is right can not be wrong.
- MindyMcfly
- Die-Harder
- Posts: 4283
- Joined: 17 Dec 2007 19:47
- Location: Nottingham, Midlands - Go Robin Hood!
- Contact:
Re: Brain Game
I now imagine Dust to look like the Mekon from Dan Dare..... heehee!
----------------------------------------
GM of Real-Life™
(\__/)
(='.'=)
(")_(")
GM of Real-Life™
(\__/)
(='.'=)
(")_(")
-
Gianna
- Ex-boss
- Posts: 1020
- Joined: 01 Jan 1970 01:00
- Location: Bavaria, Germany
- Contact:
Re: Brain Game
Why LUA? Isn't a script language the wrong choice for number crunching?
(Not that it would probably matter much looking at today's CPU speeds and the fact that a bad algorithm is identified faster...)
--Cai
(Not that it would probably matter much looking at today's CPU speeds and the fact that a bad algorithm is identified faster...)
--Cai
- Dust
- The Boss
- Posts: 9093
- Joined: 01 Jan 1970 01:00
- Contact:
Re: Brain Game
My algorithms rock :)
Lua is quite fast for a scripting language. It's not optimal, it would be faster in C (or C++ for stl), but all the problems I have solved so far were very easy computation wise. With the right algorithm.
Current state: 16 solved problems.
Lua is quite fast for a scripting language. It's not optimal, it would be faster in C (or C++ for stl), but all the problems I have solved so far were very easy computation wise. With the right algorithm.
Current state: 16 solved problems.
I do what I think is right. But I don't think that what I think is right can not be wrong.
Who is online
Users browsing this forum: No registered users and 1 guest