Re: THE project euler thread
Solved 190 with Excel... <3
|
Re: THE project euler thread
Quote:
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. |
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. |
Re: THE project euler thread
Quote:
|
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 |
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. |
Re: THE project euler thread
solved 108 in notepad
solved 110 in a spreadsheet |
Re: THE project euler thread
Quote:
|
Re: THE project euler thread
Quote:
|
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) |
Re: THE project euler thread
|
Re: THE project euler thread
Quote:
In the meanwhile, I solved a few more problems :) |
Re: THE project euler thread
Quote:
|
Re: THE project euler thread
Quote:
|
Re: THE project euler thread
Quote:
Thanks again. |
Re: THE project euler thread
1 Attachment(s)
I turned back.
|
Re: THE project euler thread
Quote:
|
Re: THE project euler thread
that's nowhere near the answer to 355, if that's what you're referring to
|
Re: THE project euler thread
Quote:
|
Re: THE project euler thread
Quote:
then yes, yes they do |
All times are GMT -5. The time now is 02:19 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution