26292 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: May 31
May Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Phones for the
elderly: Testers
wanted for senior
service
Lego X-wing fighter
touches down in New
York"s Times Square
Experts: Network
security
deteriorating,
privacy a lost
cause
Internet cafés
declared "illegal
businesses" in Ohio
SAP shuffles execs
to chase cloud
success
AT&T adds 61˘
"Mobility
Administrative Fee"
for users
Microsoft caves to
Google, pulls
YouTube app from
WinPhone Store
Amazon expands
Appstore reach,
gives devs more
user data
Now it gets
serious: Fracking
could RUIN BEER
Reports: New Xbox
could DOOM
second-hand games
market
Slashdot
ARM In
Supercomputers
— "Get Ready
For the Change"
Researcher Unlocks
Galaxy S4
Bootloader For
AT&T, Verizon
Phones
Mayor Bloomberg
Battles Fleet
Owners Over NYC
"Taxi of Tomorrow"
Schrödinger"s
Cat and RCU (Well,
Structured
Procrastination,
Actually)
Med Students
Unaware of Their
Bias Against Obese
Patients
Six Months
Developing Software
For Wearable
Computing
Human Stem Cell
Cloning Paper
Contains Reused
Images
How the Smartphone
Killed the
Three-day Weekend
Spain"s New S-80
Class Submarines
Sink, But Won"t
Float
Can the Wii U
Survive Against the
PS4 and Xbox One?
Forums -> Geek Tips
<< backlatest last
m994301009
(User)
Level 3 - 2008-05-27 22:13:08
I just can't seem to get level 3, I have been writing small programs to try to do it, but I can't seem to get it. I have tried:
1522 (which seems way to small)
1236950581248 (Which was my best answer)
and a whole bunch of other ones that I know were wrong because the was a few simple coding mistakes.
Please clarify: Does the amount of sides quadruple each time? Cause that is what I think the question is saying.
thinkt4nk
(User)
Re: Level 3 - 2008-05-27 22:44:37
look at the examples. DO the sides quadruple each time?
m994301009
(User)
Re: Level 3 - 2008-05-27 23:57:20
All the example links are dead...
BourneJ
(User)
Re: Level 3 - 2008-05-28 10:28:30
The links are dead, but I found a similar one. http://math.rice.edu/~lanius/frac/koch.html
m994301009
(User)
Re: Level 3 - 2008-05-30 02:20:14
ok, so the amount of sides does increase four fold each time, i'm still going wrong somewhere :(
sajchurchey
(User)
Re: Level 3 - 2008-05-30 04:41:02
temporarily fixed using wayback machine.

http://web.archive.org/web/20070218122329/http://www.saltspring.com/brochmann/math/Fractals/fractal-1/fractal-1.00.html
BourneJ
(User)
Re: Level 3 - 2008-05-30 10:35:01
Maybe you could try & see what the relation is between the perimeter every time, rather than just the number of sides. I think thats where you're going wrong. Just my 2 cents.
m994301009
(User)
Re: Level 3 - 2008-06-01 00:51:35
Well, what i'm trying to do is this,
Sides increase by 4 times each time, and side length becomes 1/3 of the original each, so if I just simulate this pattern, then multiply the 2 values together, than that should give me the answer shouldn't it?
m994301009
(User)
Re: Level 3 - 2008-06-01 00:53:28
I see my problem now, each side is 1/6th of the original length, not 1/3rd. -_-
VforVendetta
(User)
Re: Level 3 - 2008-06-05 14:55:38
well, you can try this,
total perimeter=4*number of sides*length of each side
and create a loop to know the number of sides and length of each side in the 93rd minute and put those in the formula
.
CodeX
(User)
Re: Level 3 - 2008-06-05 17:03:16
What this challange is based on is a koch snowflake, so you can look that up on wikipedia to see whats going on a bit better. Once you can see whats going on you may want to jott down a few steps of the snowflake, like (a=.5,p=3,l=1,n=0,v=3) so you have the area*, perimeter, length of a vertex, growth number and number of vertices. once you do two or 3 (might help to draw them too) you'll see that there is a pattern with v and l, as well as p which is worked out from v * l.

sorry if this was an overkill answer, but if not and you'd like some more help, repost
CodeX
(User)
Re: Level 3 - 2008-06-05 17:35:49
forgot to mention the * next to area was to point out its not needed, if you were to work out area you'd a load of iteration so you could make a snowflake object in your oo language of choice, and then have it do steps, but programming it can result in missing accurecy and so you may want to just avoid working out the area (which won't go over a0*(8/5)). The best tool once you have figured out the pattern is to use a precision calculator like speedcrunch or http://ttmath.slimaczek.pl/online_calculator
m994301009
(User)
Re: Level 3 - 2008-06-09 05:10:09
thanks for the advice, i'm going to start working on it now, its paper wasting time!
th3fr0g
(User)
Re: Level 3 - 2008-06-09 14:04:17
what type of variables are you using. maybe your losing digits somewhere
alice_hoyden
(User)
Re: Level 3 - 2008-09-11 04:18:33
Just use a for loop with minutes. Number of sides quadruples, length of sides gets divided by 3 with each iteration. Perimeter gets calculated after the loop. Make sure your variables are of a type that can hold the horrendous number you get.
utsab
(User)
Re: Level 3 - 2008-10-23 12:44:45
3*(4/3)^i [i is the no. of iteration ]is the ans i figured out...but dcant find the numeric soln
utsab
(User)
Re: Level 3 - 2008-10-23 12:53:59
got it :)
coolmaddy
(User)
Re: Level 3 - 2009-01-08 22:28:03
from what i understud 3*((4/3)^k)
where k is the no of loops=no of minutes...
is this some problem with the approach
coolmaddy
(User)
Re: Level 3 - 2009-01-08 23:04:34
i acted lyk a fool...taking 1hr 33 mins to be 99 mins rather than 93...sometimes i act lyk a idiot...sry guys
DKMFan
(User)
Re: Level 3 - 2009-01-27 17:41:36
Ah, I remember solving Level 3. Damn that was a good day.
dokyriak
(User)
Re: Level 3 - 2011-03-29 03:32:34
WTF. I thought it was 99 too!!!
Reply:
Verify:?
Name:?
Title:?
Body:
BB Code allowed
?
Features

The Forums
Michael Kors
Outlet

(mouse/Technical Questions)
Michael Kors
Outlet

(mouse/Technical Questions)
Michael Kors
Outlet

(mouse/News)
Michael Kors
Outlet

(mouse/OSI Members)
Michael Kors
Outlet

(mouse/Feedback)

Recent Blogs
First one
506 comments
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
69 comments
bb's blog
Mon 21st Dec 11am
Blog entry for
Wed 25th Nov
7pm
9 comments
hambone's blog
Wed 25th Nov 7pm
Blog entry for
Mon 9th Nov 4am
feck you
all!!!!!!!!
24 comments
echmil's blog
Sat 7th Nov 11pm

Current Poll
What would you
like to see more
of?

Articles
Discussion
Polls
Tests
Challenges
Captchas
Other (Comment)



View Results
(3 Comments)

Site Comments
http://edprices
online.com/ buy
viagra =-P
(Anonymous / email email ooohhh email / think12's blog)
http://www.loca
teinsurdeals.co
m/ auto
i...

(Anonymous / email email ooohhh email / think12's blog)
http://www.your
carinsurancequo
tes.net/texa...

(Anonymous / email email ooohhh email / think12's blog)
http://www.comp
areedmedsprices
.com/ buy
(Anonymous / email email ooohhh email / think12's blog)
http://www.sear
chinsurancedeal
s.com/ auto<...

(Anonymous / SSHFS: Super Easy File Access over SSH / bb's blog)
We are a group
of volunteers
and opening a
(Anonymous / Fate - A Linux Security Simulation Written in C++ / Adnurak's blog)
Tremendous
things here. I
am very happy
t...

(Anonymous / Fate - A Linux Security Simulation Written in C++ / Adnurak's blog)
Magnificent
post, very
informative.
I'm w...

(Anonymous / Fate - A Linux Security Simulation Written in C++ / Adnurak's blog)
http://autoinsu
rshopping.com/
auto owners
(Anonymous / My blogs / quangntenemy's blog)
http://www.usag
lobalquotes.com
/auto-insura...

(Anonymous / Blog entry for Sun 8th Mar 3pm / macrocat's blog)


     
Your Ad Here
 
Copyright Open Source Institute, 2006