10-25-2011, 09:40 PM | #101 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: THE project euler thread
Solved 190 with Excel... <3
|
10-25-2011, 09:43 PM | #102 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
Wow you guys really are gods among men. What is your education? I am working on a MS in CS.
I am working on the < 100 problems. My Advanced Algorithms teacher is giving a massive amount of extra credit if you can show you solved one of them. I am using the 3 conjectures and the way FFREVA started to get a pretty good start, but I am still falling short. |
10-25-2011, 09:48 PM | #103 |
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,051
|
Re: THE project euler thread
Undergraduate sophomore. Took a basic course in programming and that's it.
Honestly, I just love Project Euler problems because you don't need to be super crazy good at programming to solve them, as long as you have a good sense with math. My code for problem 355 (excluding the last part which was manual) was completely done with the most basic programming concepts and nothing else. For loops, while loops, a small handful of dedicated functions, and that's it.
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music |
10-25-2011, 10:43 PM | #104 | |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
Quote:
|
|
10-25-2011, 11:28 PM | #105 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: THE project euler thread
There is no literal pen and pad needed -- just some manual fudging to the program
EDIT: Solved all the triangle-numbered problems Almost got 354 solved... just one piece missing but I'm too tired to fiddle with it tonight. night yall Last edited by Reincarnate; 10-25-2011 at 11:50 PM.. |
10-26-2011, 03:30 AM | #106 |
smoke wheat hail satin
Join Date: Sep 2006
Location: LA baby
Age: 36
Posts: 5,704
|
Re: THE project euler thread
Took a stab at a few more problems tonight:
Problem 28 MATLAB is a little cheap with respect to creating a spiral function - it already has one built in, so I utilized it to find my solution. Also, most of my codes for Project Euler are scripts, but for some reason I decided to actually make this one a function. No real reason. Problem 29 This one turned out to be pretty easy. Just used a nested for loop and then eliminated all of the elements I didn't want in my vectors (i.e. repeating values). I also came up with brute force solutions to Problems 71-73, which actually work with small sample sizes, but MATLAB is pretty horrible with big numbers as well as large volumes of numbers, so it takes a crap when I run it and says it doesn't have enough memory. I bought an 8GB flashdrive online today that's ReadyBoost enabled, so hopefully when I get it I can run my programs. Last edited by foilman8805; 10-26-2011 at 03:33 AM.. |
10-26-2011, 06:07 AM | #107 |
FFR Player
Join Date: Aug 2005
Location: Banned
Posts: 1,770
|
Re: THE project euler thread
solved 108 in notepad
solved 110 in a spreadsheet
__________________
~*~Lurkadurk - 1134-7796-6967~*~ |
10-26-2011, 10:06 AM | #108 | |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
Quote:
Last edited by hondaracer600; 10-26-2011 at 01:39 PM.. Reason: Spoiler Tags |
|
10-26-2011, 02:08 PM | #109 | |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: THE project euler thread
Quote:
Last edited by Reincarnate; 10-26-2011 at 02:10 PM.. |
|
10-26-2011, 09:21 PM | #110 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
Is cursing allowed on this forum? Because #$@# problem 355.
I am not a math guy, I can normally get these using CS algorithms, but there just isn't a solid method I can come up with to solve this. Did your solutions work for all the examples? e.g. Co(10),Co(30) & Co(100) Last edited by hondaracer600; 10-26-2011 at 10:03 PM.. Reason: PS. I hate you for making me click "show spoiler" 14 times |
10-26-2011, 10:59 PM | #111 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: THE project euler thread
Last edited by Reincarnate; 10-26-2011 at 11:53 PM.. |
10-27-2011, 08:29 AM | #112 |
D6 FFR Legacy Player
Join Date: Jan 2009
Age: 32
Posts: 4,342
|
Re: THE project euler thread
|
10-27-2011, 11:47 AM | #113 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
|
10-27-2011, 12:18 PM | #114 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: THE project euler thread
|
10-27-2011, 01:19 PM | #115 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
|
10-27-2011, 01:23 PM | #116 |
FFR Veteran
Join Date: Nov 2006
Location: hotlanta
Age: 35
Posts: 116
|
Re: THE project euler thread
I turned back.
|
10-27-2011, 02:48 PM | #117 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
Last edited by hondaracer600; 10-27-2011 at 03:17 PM.. |
10-27-2011, 06:16 PM | #118 |
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,051
|
Re: THE project euler thread
that's nowhere near the answer to 355, if that's what you're referring to
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music |
10-27-2011, 06:34 PM | #119 |
FFR Player
Join Date: Oct 2011
Posts: 13
|
Re: THE project euler thread
|
10-27-2011, 08:16 PM | #120 | |
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,051
|
Re: THE project euler thread
Quote:
then yes, yes they do
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|