Old 05-10-2012, 05:22 PM   #201
iironiic
D6 FFR Legacy Player
FFR Simfile AuthorFFR Veteran
 
iironiic's Avatar
 
Join Date: Jan 2009
Age: 30
Posts: 4,211
Default Re: The Project Euler thread

I'm working on 383 too. I got a formula for f5(n!) but nothing for T5(n) yet :(
iironiic is offline   Reply With Quote
Old 05-11-2012, 12:15 AM   #202
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

Just gotta knock back 382 and that's that
Not really a fan of recurrence-relation problems but meh
Reincarnate is offline   Reply With Quote
Old 05-30-2012, 05:46 PM   #203
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

Weeee, got it -- 100% again

Reincarnate is offline   Reply With Quote
Old 06-21-2012, 12:05 AM   #204
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

390 should be ok, but I am fearing 391. it's likely going to be brutal
Reincarnate is offline   Reply With Quote
Old 07-1-2012, 03:42 PM   #205
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've got a program that will solve for M(n) but is not scalable to higher levels

You know it's a tough problem when very few of the usual heavy hitters have solved it, even 24 hours after its release.
Reincarnate is offline   Reply With Quote
Old 07-4-2012, 11:34 PM   #206
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

391 solved, back to 100%. That one was tricky.

Last edited by Reincarnate; 07-5-2012 at 06:42 PM..
Reincarnate is offline   Reply With Quote
Old 07-5-2012, 07:20 PM   #207
Bluearrowll
⊙▃⊙
FFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
Bluearrowll's Avatar
 
Join Date: Nov 2007
Location: I live in the last place where you Look.
Age: 29
Posts: 7,376
Send a message via AIM to Bluearrowll Send a message via MSN to Bluearrowll
Default Re: The Project Euler thread

Until 392..
__________________
1st in Kommisar's 2009 SM Tournament
1st in I Love You`s 2009 New Year`s Tournament
3rd in EnR's Mashfest '08 tournament
5th in Phynx's Unofficial FFR Tournament
9th in D3 of the 2008-2009 4th Official FFR Tournament
10th in D5 of the 2010 5th Official FFR Tournament
10th in D6 of the 2011-2012 6th Official FFR Tournament

FMO AAA Count: 71
FGO AAA Count: 10

Bluearrowll = The Canadian player who can not detect awkward patterns. If it's awkward for most people, it's normal for Terry. If the file is difficult but super straight forward, he has issues. If he's AAAing a FGO but then heard that his favorite Hockey team was losing by a point, Hockey > FFR
PS: Cool AAA's Terry
- I Love You


An Alarm Clock's Haiku
beep beep beep beep beep
beep beep beep beep beep beep beep
beep beep beep beep beep
- ieatyourlvllol
Bluearrowll is offline   Reply With Quote
Old 07-26-2012, 03:25 PM   #208
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

So I'm teaching myself BASIC and I figure that this would be a good way to learn
Unfortunately, I can't even solve problem 1 because I'm a dumb shit rofl (I could solve on paper, but that'd take forever)

There's something wrong with my code.
Don't hate, I haven't touched a programming language since high school (so 2008)

Code:
count = 0
addNumber = 0
a$ = ""

[loop]
count = count + 1
if (count mod 3 = 0) or (count mod 5 = 0) then
addNumber = addNumber + count
print "Count = "; count
print "addNumber ="; addNumber
else
print "Count = "; count
print "addNumber ="; addNumber
end if

if count < 1000 then
goto [loop]
else
print addNumber
end if
stop


Some info regarding my code:
The a$ was a variable I used to make the code stop during the first if-then statement. It originally looked like this:
Code:
print "Count = "; count
print "addNumber ="; addNumber
print "press any button and enter to continue"
input a$
else
I know using goto makes me look like a newb programmer, but that's fine. I'm not too keen on streamlining my code just yet.
__________________

Last edited by Choofers; 07-26-2012 at 03:32 PM..
Choofers is offline   Reply With Quote
Old 07-26-2012, 03:57 PM   #209
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

Shit, I think I know what's wrong with my code. 2 mod 3 would end being 0. So it's adding to addNumber before it should be.
__________________
Choofers is offline   Reply With Quote
Old 07-26-2012, 09:25 PM   #210
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

2 mod 3 is 2

(x mod y is the remainder of x / y)

PS use Python instead, it's cooler



sumTotal = 0
num = 1
while num < 1000:
if (num % 3 == 0) or (num % 5 == 0):
sumTotal = sumTotal + num
num = num + 1
print sumTotal


Damn thing doesn't save formatting but w/e
Reincarnate is offline   Reply With Quote
Old 07-27-2012, 02:46 PM   #211
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

I am obviously retarded, because I'm still stuck on problem 1. I mirrored that code into BASIC (took me a bit to figure out while loops), and now I'm getting a huge number, literally twice as large as my original code. I downloaded Python though, let's see how that goes.

ugh I can't wait to go back to school rofl

edit: python's gay, going back to BASIC
__________________

Last edited by Choofers; 07-27-2012 at 02:51 PM..
Choofers is offline   Reply With Quote
Old 07-27-2012, 02:56 PM   #212
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

ur gay
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 07-27-2012, 02:58 PM   #213
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

thank you for your help

edit: Took a break from problem 1 and went onto a random problem under 10. Solved 6 after a bit of trouble, I was finding the difference for the first 1000 natural numbers and not 100. Whoops.
__________________

Last edited by Choofers; 07-27-2012 at 03:23 PM..
Choofers is offline   Reply With Quote
Old 07-27-2012, 07:28 PM   #214
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

What is your current code for problem 1

and seriously stop using BASIC, aaaaoooogugughghhh
Reincarnate is offline   Reply With Quote
Old 07-27-2012, 10:16 PM   #215
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

whats wrong with basic rofl, I download python 2.whatever and wanted to kill the lady making my chai latte.

I'll post my code tonight after I mess with it a bit.
__________________
Choofers is offline   Reply With Quote
Old 08-12-2012, 06:21 AM   #216
Choofers
FFR Player
 
Join Date: Dec 2008
Age: 31
Posts: 6,205
Default Re: The Project Euler thread

I actually never touched my code that night...

i touched myself.................
__________________
Choofers is offline   Reply With Quote
Old 11-16-2012, 11:42 PM   #217
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

Anyone else still playing any?

Eagerly awaiting #402
Reincarnate is offline   Reply With Quote
Old 11-17-2012, 12:23 AM   #218
infinity.
sideways 8
FFR Veteran
 
infinity.'s Avatar
 
Join Date: Sep 2007
Age: 28
Posts: 1,706
Send a message via AIM to infinity.
Default Re: The Project Euler thread

i started on tuesday. i've got 17 correct answers so far, but i only know a semester's worth of python haha. the problems are starting to get out of my threshold

my account name is lpauley if you can do anything with it
__________________
signatures are for nerds

nerds
infinity. is offline   Reply With Quote
Old 11-17-2012, 12:24 AM   #219
infinity.
sideways 8
FFR Veteran
 
infinity.'s Avatar
 
Join Date: Sep 2007
Age: 28
Posts: 1,706
Send a message via AIM to infinity.
Default Re: The Project Euler thread

Quote:
Originally Posted by Choofers View Post
whats wrong with basic rofl
also

EVERYTHING
__________________
signatures are for nerds

nerds
infinity. is offline   Reply With Quote
Old 11-17-2012, 11:03 AM   #220
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: The Project Euler thread

You use friend codes instead of usernames
Reincarnate 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 12:12 AM.


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