|
NUTS! COCONUTS!
You have to devise a plan for an important scientific research...
The goal of the research is to determine at what minimal high coconuts break.
You have a 100 story building, 2 coconuts and $1.40.
* A trip in the elevator cost a dime (up and down included).
* The coconuts suffer no harm when dropped from lesser high than their breaking point.
(At the end collect the coconuts and send to me - I need a lot to prepare these: dates delicacy...[^])
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: The goal of the research is to determine at what minimal high coconuts break. On Monday morning, of course. My coconuts are aready broken and it's 11:25 AM...
PS: dichotomic search ain't big news.
* CALL APOGEE, SAY AARDWOLF
* GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
Step 0: Steal an African swallow
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
*Answer self-censored for vastly non KSS content*
* CALL APOGEE, SAY AARDWOLF
* GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
Having only two coconuts, we have to you use single steps after we broke one. Having max. 14 elevator rides, start at floor 14 so that we can check floors 1 to 13 if the coconut breaks.
If it does not break start the next test at floor 27 because we have 12 rides left aftwerwards which can be used to test floors 15 to 26.
So the floors will be:
0 + 14 = 14
14 + 13 = 27
27 + 12 = 39
39 + 11 = 50
50 + 10 = 60
60 + 9 = 69
69 + 8 = 77
77 + 7 = 84
84 + 6 = 90
90 + 5 = 95
95 + 4 = 99
|
|
|
|
|
I'd go with 50th, if breaks then 25 otherwise 75 and then by halving increment/decrement. In maximum 7 steps you find the solution and have 70c to spend.
* CALL APOGEE, SAY AARDWOLF
* GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
But only two coconuts!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Yup. Didn't think much. Did I mention that I'm feverish (and in the office since there was an intervention on a customer only I could do)?
* CALL APOGEE, SAY AARDWOLF
* GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
What kind of nut would you use when the first breaks at 50 and the second one at 25?
|
|
|
|
|
50th -> broke
25th -> broke
What to do now?
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Yes, but we only have two nuts, so if it breaks on 50th and 25th, we've only got as far as knowing that it's somewhere between 1 and 24.
Slogans aren't solutions.
|
|
|
|
|
I would guess that you are a developer... numbering floors from 0 to 99
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I'm a German where floors are counted starting at zero (the ground floor) and the first floor is one above. Only the Americans are calling the ground floor "first floor"
But you should not be astonished to meet some developers here
|
|
|
|
|
Jochen Arndt wrote: But you should not be astonished to meet some developers here Visiting QA makes you forgot it sometimes...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
This looks good to me.
Slogans aren't solutions.
|
|
|
|
|
Science?
You do not state anything about how you drop them. Just fell out of hand, Throw them up in the air, throw them down extra hard?
Such much for your 'important scientific research'.....
You can make it break from floor 2 but it can stay unharmed when just simply dropping it from floor 25.
Furthermore. You project lacks of finance. To make any scientific research valuable you have to redo your testing. Better start elevating funding first.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
You are clearly nor reading latest scientific news... If you would, you would also see that my research not only accurate, but very important and useful
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
How about sell both coconuts, buy a coffee.
Later (after the coffee) report back that' 'it's not 100.'
If asked why only 1 result the response is ',the same thing happened to both because, I wanted to be sure.'
While the above looks wrong, no lie has been told, and it was an easy way to get through a Monday morning.
BTW, here can be arrested for dropping anything off a higher floor (even just 1 floor up), "Killer Litter," a fine up to $5000 - more if someone nearby is almost hit, jail + even bigger fine if somebody is hit. Also can be arrested for dropping things even on the ground floor, fine up to $500. So sorry, $1/40 doesn't cover the risk - another reason my solution is best. (And yes, the coffee is that cheap, my usual haunt I would still have 40 cents left.)
Sin tack ear lol
Pressing the any key may be continuate
|
|
|
|
|
I think your solution not just good, but almost perfect... If you can get exchange the coconuts for a small cake...
And it is also a very scientific approach of our time...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: at what minimal high coconuts break. What substances have the experimenters ingested ?
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Didn't you saw the link at the bottom?!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
Has anyone managed to get addins working in excel 2016 with VS 2015 community edition?
|
|
|
|
|
Of course someone has.
Some people have even got ubuntu to work -- there's no end of inventiveness, in this world.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I see you have a sparking morning!!!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|