|
To make 1000, the ones digit has to add up to something ending in a zero. That's 40, which means "88888888" will need to be divided into 5 numbers.
When you add the ones digits to 40, you'll need to carry the 4 into the tens place. The tens place will also need to add to something ending in a zero to make 1000. With carrying the 4, you'll need two 8's to make 16.
Now you'll need to carry a 2; add an "8" to that, and you'll get 10, which looks a lot like the start of 1000. Let's see where we are - we need five numbers with a ones digit, two with a tens digit, and one with a hundreds digit.
This gives us 8+8+8+88+888, which equals 1,000.
Or just quickly search the web for the answer and copy/paste it in... after all, since it's a "Who Cares" puzzle, who cares how the answer is arrived at? Exactly.
|
|
|
|
|
Normally I would say: "I new it is easy...", but I actually I have to say: "Very smart!!!"
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
While I like your answer better!
1000/8= 125
so
8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+
8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+
8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+
8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+
8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8
Buckrogerz
|
|
|
|
|
In fact, your answer is accurate.
The equation called for "infinite number of 8s and +'s, not 8++ or 88+888, etc.
|
|
|
|
|
Long ago, in days of yore.
It all began with a god named Thor.
There were Vikings and boats
and some plans for a furniture store
It's not a bodega, it's not a mall
They sell things for apartments smaller than mine
As if there were apartments smaller than mine
-- Jonathan Coulton, "Ikea"
I've had this stuck in my head for a week... And you just HAD to remind me.
|
|
|
|
|
The god of war rode out one day
Upon a handsome filly.
"I'm Thor", he cried;
The horse replied:
"Well, you forgot your thaddle, thilly!"
There, maybe that will "unstick" the Ikea poem for you.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Poem? Song.
Probably on YouTube... Go get hooked.
|
|
|
|
|
Alternate... Two 8's, and one plus.
Solution:
1) Break off the sides of the plus, rotate them ninety degrees, and stick them to the top and bottom to make a "1"
2) Break the 8's in half, so they each form two zeroes. Use three of those to make the "000", and throw the last one at one of your coworkers.
Done.
|
|
|
|
|
Your other comment made more sense
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You're right... Technically, you asked how many 8's and +'s would FIT in 1000... You can really only fit one eight, not both of them... So the answer should really be one and a half 8's, not two.
|
|
|
|
|
I had thought on very similar lines, but I'd put the spare 0 on top of one of the other 0s so it looks as though there are only three 0s there. I had considered squashing the extra 0 so it flattened to a 1, but that was messy - I don't know what they have inside.
But how do you get the comma between the 1 and the 0s?
|
|
|
|
|
How about 125 eights and 124 plusses? ...and you still have an infinite number left over.
...or did I misunderstand the question? Quite likely - still on first coffee.
|
|
|
|
|
I am right there with you... brute force the answer.
Now if the puzzle had specified a minimum number of symbols to achieve 1000, or that you only have 100 8's and 99 +', etc. You would have to go with the first reply.
|
|
|
|
|
That's perfectly good solution... Not nice, but good...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I'll have a P, please, Bob.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
So I'm looking at NLog and Log4net. Why in the world does logging need to be so blasted complicated???
Now I'm sure some of you would say "Log4Net or NLog isn't complicated", but at the most basicl level, what's wrong with this:
public class Logger
{
public static string LogFile { get; set; }
static Logger()
{
if (string.IsNullOrEmpty(LogFile))
{
var path = System.Reflection.Assembly.GetEntryAssembly().Location;
LogFile = string.Format("{0}\MyLogFile.txt", path);
}
}
public static void Info(string message)
{
using (var sr = new StreamWriter(LogFile, true))
{
sr.WriteLine(message);
}
}
}
I've never understood why This Much is needed just to write to a silly log file. Seems to me that these "tools" are just a solution looking for a problem.
IMHO, WAY WAY WAY over-engineered.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
No, haven't seen it. I'm just venting on why it's so blasted much work just to write to a log file.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Logging frameworks (etc.) are for developers who are too stupid to figure it out for themselves.
If you're smart enough to recognize that the framework is crap, you don't need that framework.
|
|
|
|
|
I disagree. When you have code running in production it;s usually more difficult to diagnose what's happening, so logging gives you an advantage.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
Me thinks you misunderstood. By "the framework" he's referencing "the Logging framework", not logging in general.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Are you seriously suggesting re-inventing the wheel?
"There are only 10 types of people in the world - those who know binary and those who don't."
|
|
|
|
|
Same old argument. If the existing wheels don't fit your needs you create the right wheels. A developer who doesn't do as much isn't worth a dime - baceause creating tools is precisely programmers' work.
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
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"Go ahead, make my day"
|
|
|
|
|
Totally agree. Nothing wrong with using 3rd party code or frameworks but no one shoudl be afraid to roll up their sleeves and make it themselves if the need fits.
|
|
|
|