Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

880186 Posts in 33024 Topics- by 24392 Members - Latest Member: mfroeschl

May 25, 2013, 11:44:20 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Project Euler
Pages: 1 ... 3 4 [5]
Print
Author Topic: Project Euler  (Read 4336 times)
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #60 on: April 13, 2012, 04:31:41 AM »

Added Smiley
Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
paste
Level 6
*


BARF!

HeyIAintEddie
View Profile WWW
« Reply #61 on: April 19, 2012, 10:15:12 AM »

Woot, i just got #12 to run in like 5 seconds. Feeling like a math badass.  Cool
Logged

Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #62 on: April 19, 2012, 11:33:10 AM »

My #12 solution takes 20 seconds to run on a 3GHz Intel Core i7 Sandy Bridge Huh?
That feels unacceptably brute force now. I'd better revisit that problem.
Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
Rusk
Level 0
**


View Profile
« Reply #63 on: April 20, 2012, 06:53:37 AM »

My friend key is 90579225331061_8f094af7faa77ad95f3baa7361d6f4d7.

I'm using c++, so have to use a library for big ints. So far http://www.ttmath.org/ has been enough, it's template based so no compilation needed. But it doesn't support the modulo operator so sooner or later I'll have to find something else.

Anyway, thanks for the link. This is fun. Coffee
Logged
rivon
Level 10
*****



View Profile
« Reply #64 on: April 20, 2012, 07:10:31 AM »

Code:
int a, b, c;
a = b % c;
is equal to
Code:
int a, b, c;
a = b - (b/c)*c;
Logged
Rusk
Level 0
**


View Profile
« Reply #65 on: April 20, 2012, 08:08:18 AM »

Ah, of course. Silly me.
Logged
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #66 on: September 29, 2012, 03:45:29 PM »

I finally reached Level 3, with 75 problems solved!



I celebrated by updating the high score list in the first post. I added a few people and sorted everyone based on problems solved.
Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
mokesmoe
Level 10
*****



View Profile Email
« Reply #67 on: September 29, 2012, 06:26:50 PM »

So I can mess up your list by solving just one problem?
Logged
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #68 on: September 30, 2012, 04:08:42 AM »

Yes. See it as a "most improved"-list, until next update Wink
Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
Brad811
Level 0
**



View Profile Email
« Reply #69 on: October 15, 2012, 09:15:17 AM »

Ah, I like this site. I haven't done them in a little while, since the people I was competitive with (at a previous job) gave up after about 8 problems.

Here's my friend key: 27942669149658_cfce9402d504e4d4fd6f7c8100a5e2f9

And badge:

Logged

Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #70 on: May 18, 2013, 05:39:38 AM »

Added you at position 4 in the high score list!

Sorry for the half year delay Droop
« Last Edit: May 18, 2013, 05:47:41 AM by Dacke » Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
Pages: 1 ... 3 4 [5]
Print
Jump to:  

Theme orange-lt created by panic