Old 06-5-2014, 07:36 PM   #341
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default 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

Last edited by Reincarnate; 06-6-2014 at 12:23 AM..
Reincarnate is offline   Reply With Quote
Old 06-6-2014, 12:25 AM   #342
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

blah too tired to do more, zzzztime
Reincarnate is offline   Reply With Quote
Old 06-6-2014, 12:44 AM   #343
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread

http://projecteuler.net/problem=466

This one's deceptively difficult
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-6-2014, 12:49 AM   #344
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

Actually one of the easier ones in the upper-400 series, however
Reincarnate is offline   Reply With Quote
Old 06-6-2014, 01:31 AM   #345
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default 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?
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-6-2014, 01:34 AM   #346
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default 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.

Last edited by Reincarnate; 06-6-2014 at 01:39 AM..
Reincarnate is offline   Reply With Quote
Old 06-6-2014, 04:03 PM   #347
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 72 billion club, NE
Age: 29
Posts: 12,550
Default 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


__________________


Last edited by rushyrulz; 06-6-2014 at 04:09 PM..
rushyrulz is offline   Reply With Quote
Old 06-7-2014, 12:29 AM   #348
stargroup100
behanjc & me are <3'ers
FFR Simfile AuthorFFR Music Producer
 
Join Date: Jul 2006
Posts: 2,046
Default 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
__________________
Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.

Piano Etude Demon Fire sheet music
stargroup100 is offline   Reply With Quote
Old 06-7-2014, 12:33 AM   #349
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

The xor cipher one is fun though
Reincarnate is offline   Reply With Quote
Old 06-7-2014, 06:45 AM   #350
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default 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
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-7-2014, 07:28 AM   #351
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



easy
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-7-2014, 08:06 AM   #352
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default 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 is offline   Reply With Quote
Old 06-7-2014, 08:11 AM   #353
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

also update (Python timings):

Total time for problems 1 through 70: 16.428783 seconds
Reincarnate is offline   Reply With Quote
Old 06-8-2014, 02:51 AM   #354
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



phew
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-8-2014, 05:20 AM   #355
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



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



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-8-2014, 10:46 AM   #356
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



woot
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-8-2014, 11:17 AM   #357
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

Total time for problems 1 through 80: 25.627359 seconds
Reincarnate is offline   Reply With Quote
Old 06-8-2014, 11:41 AM   #358
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



easy
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-8-2014, 06:03 PM   #359
leonid
I am leonid
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 32
Posts: 8,074
Default Re: The Project Euler thread



not easy
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 06-8-2014, 07:39 PM   #360
beary605
FFR Veteran
D8 Godly KeysmasherFFR Veteran
 
beary605's Avatar
 
Join Date: Oct 2008
Location: Canada
Posts: 448
Default Re: The Project Euler thread

Quote:
Originally Posted by Reincarnate View Post
Total time for problems 1 through 80: 25.627359 seconds
hm, 25.6 seconds for all that? i have some optimizing to do :D
beary605 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:55 AM.


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