Flash Flash Revolution

Flash Flash Revolution (http://www.flashflashrevolution.com/vbz/index.php)
-   Technology (http://www.flashflashrevolution.com/vbz/forumdisplay.php?f=74)
-   -   The Project Euler thread (http://www.flashflashrevolution.com/vbz/showthread.php?t=120818)

Reincarnate 06-5-2014 07:36 PM

Re: The Project Euler thread
 
I am going to be going through the problems, posting a cumulative timing of all problems from 1 through whatever problem I am on, using Python (including time taken to import any external stuff I write/use for each problem, individually):

So far:

Total time for problems 1 through 10: 0.734290 seconds

edit:

Total time for problems 1 through 25: 3.879866 seconds

edit:

Total time for problems 1 through 40: 7.787901 seconds

Reincarnate 06-6-2014 12:25 AM

Re: The Project Euler thread
 
blah too tired to do more, zzzztime

leonid 06-6-2014 12:44 AM

Re: The Project Euler thread
 
http://projecteuler.net/problem=466

This one's deceptively difficult

Reincarnate 06-6-2014 12:49 AM

Re: The Project Euler thread
 
Actually one of the easier ones in the upper-400 series, however

leonid 06-6-2014 01:31 AM

Re: The Project Euler thread
 
It's taking inclusion-exclusion to the extreme
Or I'm doing the wrong approach

By the way, how does one get his posts become permanent?

Reincarnate 06-6-2014 01:34 AM

Re: The Project Euler thread
 
For permanent posts, you must either:
1. Get in early enough to post on the first four pages
Or
2: If you're on page 5+, get enough Kudos on your post so an admin can make it permanent.

rushyrulz 06-6-2014 04:03 PM

Re: The Project Euler thread
 
God...

31 ms runtime (this solution was tedious as fuck)

I liked this problem though since it made me refamiliarize myself with regexes as well as a bit of file I/O



stargroup100 06-7-2014 12:29 AM

Re: The Project Euler thread
 
I hated that one

I don't like those kinds of problems lol

I mean, it was pretty easy and trivial but still annoying as fuck and fuck that problem

Reincarnate 06-7-2014 12:33 AM

Re: The Project Euler thread
 
The xor cipher one is fun though

leonid 06-7-2014 06:45 AM

Re: The Project Euler thread
 


New award (O:

I'm gonna stick to easier ones and eventually get back to p466
By the time I reach it, I should be smart enough to know what to do

leonid 06-7-2014 07:28 AM

Re: The Project Euler thread
 


easy

Reincarnate 06-7-2014 08:06 AM

Re: The Project Euler thread
 
some of the harder ones though are really beautiful problems, hope you can give them a try at some point (344, 361, and 415 in particular).

Reincarnate 06-7-2014 08:11 AM

Re: The Project Euler thread
 
also update (Python timings):

Total time for problems 1 through 70: 16.428783 seconds

leonid 06-8-2014 02:51 AM

Re: The Project Euler thread
 


phew

leonid 06-8-2014 05:20 AM

Re: The Project Euler thread
 


Ruby is not the best language if I need to check primality of over 10mil 14-digit numbers

leonid 06-8-2014 10:46 AM

Re: The Project Euler thread
 


woot

Reincarnate 06-8-2014 11:17 AM

Re: The Project Euler thread
 
Total time for problems 1 through 80: 25.627359 seconds

leonid 06-8-2014 11:41 AM

Re: The Project Euler thread
 


easy

leonid 06-8-2014 06:03 PM

Re: The Project Euler thread
 


not easy

beary605 06-8-2014 07:39 PM

Re: The Project Euler thread
 
Quote:

Originally Posted by Reincarnate (Post 4147417)
Total time for problems 1 through 80: 25.627359 seconds

hm, 25.6 seconds for all that? i have some optimizing to do :D


All times are GMT -5. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution