11-24-2012, 10:45 PM | #221 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: The Project Euler thread
fuck
|
11-24-2012, 11:53 PM | #222 |
sideways 8
|
Re: The Project Euler thread
74432925402977_edc6e913519320b2bbdef524348d21cc
__________________
signatures are for nerds nerds |
12-10-2012, 06:48 PM | #223 |
FFR Player
Join Date: May 2008
Age: 32
Posts: 1,117
|
Re: The Project Euler thread
started this a little while ago (i think registered years ago lol, but never solved anything til just recently), a few days of work and i'm at lvl 2.
probably wont solve much for a couple weeks because finals but some of these are pretty interesting. |
12-10-2012, 08:35 PM | #224 |
FFR Veteran
Join Date: Dec 2007
Posts: 1,249
|
Re: The Project Euler thread
Just stumbled across this thread. I have 38 problems solved. I learned a bit of python for these problems. My problem is that I can often see an easy, brute force solution, but I don't have the math knowhow to get stuff solved in less than a few weeks (or at least such math isn't that intuitive to me). I think it's time to revisit these torturous problems.
|
12-10-2012, 08:46 PM | #225 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: The Project Euler thread
Practice makes perfect -- the more you solve, the more you'll learn
|
12-13-2012, 12:21 PM | #226 |
FFR Veteran
Join Date: Dec 2007
Posts: 1,249
|
Re: The Project Euler thread
for all it's worth, here's my friend key: 83532459359302_e704d4c6b1d37a7739410f38da156b2a
|
12-18-2012, 09:31 PM | #227 |
FFR Veteran
Join Date: Dec 2007
Posts: 1,249
|
Re: The Project Euler thread
So which keywords make python read from a text file? My eyes are buggy from looking though online reference stuff and there's several problems that require it..
|
12-18-2012, 10:00 PM | #228 |
the Mathemagician~
|
Re: The Project Euler thread
You will want to use:
Code:
file = open('/path/to/file') file.read() # Returns whole file. file.readline() # Will return line by line. file.readlines() # Returns a list of every line. file.close() # Close the file after you have read everything you need. |
12-21-2012, 08:13 PM | #229 |
FFR Player
Join Date: May 2008
Age: 32
Posts: 1,117
|
Re: The Project Euler thread
just did 96 which was cool since i never really used recursion in a way that was non-trivial before
no idea how you guys do some of the higher numbered ones, highest one i did was 243, which for some reason is many times easier than everything around it, didnt even write any code. edit: got to lvl 3 :) Last edited by kaiten123; 12-23-2012 at 01:49 AM.. Reason: lvl up |
12-28-2012, 10:24 PM | #230 |
FFR Player
Join Date: May 2008
Age: 32
Posts: 1,117
|
Re: The Project Euler thread
brute forced 407 lol
never saw that box at the bottom right before, is that new? or does it pop up when you solve something recent? |
12-30-2012, 12:11 AM | #231 |
I am leonid
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 35
Posts: 8,080
|
Re: The Project Euler thread
i should get back to solve rest of the problems
|
01-4-2013, 02:36 PM | #232 |
FFR Veteran
|
Re: The Project Euler thread
This is pretty awesome I'm giving some of these a go
|
01-22-2013, 07:52 PM | #233 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: The Project Euler thread
411 wasn't too bad -- pretty much an exercise in programming
|
02-17-2013, 11:40 AM | #234 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: The Project Euler thread
415... only 3 solvers after 7 and a half hours.
Yeah I can pretty much kiss my 100% goodbye It's been fun, PE :( |
02-21-2013, 04:25 PM | #235 | |
FFR Veteran
Join Date: Oct 2007
Posts: 284
|
Re: The Project Euler thread
Quote:
Here are some of my crude notes for problem 1, that used logic in stead of programming: |
|
02-22-2013, 10:21 PM | #236 |
I am leonid
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 35
Posts: 8,080
|
Re: The Project Euler thread
@Reincarnate use code tag
Code:
while 1: print "INDENT" if "INDENT": print "MORE INDENT" print "NEVER REACHES HERE" |
02-22-2013, 10:32 PM | #237 |
Kawaii Desu Ne?
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
|
Re: The Project Euler thread
Maybe ill try to play around and do some more problems this weekend :) (I haven't touched PE in awhile) . gotta start on my take-home test and other school stuff first though xP
|
02-26-2013, 11:55 AM | #238 |
Kawaii Desu Ne?
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
|
Re: The Project Euler thread
Started doing this in my free time again :3 Just got problem 34 this morning. Problem and code below; any tips that can make me a better programmer or mathematician is greatly appreciated :P
problem: solution: (in Java) EDIT: cool, got another :3 Problem: Solution: Last edited by reuben_tate; 02-26-2013 at 12:36 PM.. |
03-1-2013, 09:44 AM | #239 |
FFR Veteran
|
Re: The Project Euler thread
Learned some jython, and these are all much easier
|
07-15-2013, 02:30 PM | #240 |
FFR Player
Join Date: Dec 2008
Age: 33
Posts: 6,205
|
Re: The Project Euler thread
I'm currently on my lunch break, so I decided that instead of studying for my ethernet and osi model exam tomorrow, I'd delve into powershell.
Had a bit of an issue getting custom scripts to work without having digital signatures, but oh well. this feels very reminiscent of java and maybe you DuDeZ will stop hating me because I'm not using BASIC maybe ??? edit: problem two solved, I was originally incrementing my variables one number at a time but I quickly realized that this would need a variable for every number in the sequence lol
__________________
Last edited by Choofers; 07-15-2013 at 03:19 PM.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|