|
Maybe get a decent install of Clang or gcc on Windows for once? Both mingw and cygwin have versions of gcc and its supporting libs that are not completely compatible with the *nix versions.
Haven't tried yet, to be honest. I need Win 10 on a machine first.
|
|
|
|
|
FAST FOOD
A restaurant packing fried chickens in packages of 6, 9 and 20...
Which is the largest number of chickens you can NOT order?
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: largest number of chickens you can NOT order? All of them.
Diner: "Hi, I'd like to not order all of your chickens."
Waiter: "Wait, what?"
Diner: "Please don't bring me ALL of your chickens"
Waiter: "Uh, is this some kind of prank?"
Diner: "It absolutely isn't quite true that it may not be not a prank."
Waiter: "Get out."
|
|
|
|
|
So if I want 1 to 5 chickens I have to order the 6?
|
|
|
|
|
Yo can not order 1 to 5...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I can not order whatever I want.
|
|
|
|
|
Just order the 6 and ask them to put in how many you want between 1 and 5. You'd still pay the price for 6 pieces though but most fast food places would be happy to oblige.
|
|
|
|
|
Any number - I don't go to fast food chicken restaurants.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Is this KFC or Chick-Fil-A?
|
|
|
|
|
Los Pollos Hermanos
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Is there any uncertainty in your assertion?
|
|
|
|
|
Just say my name...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
... But not three times whilst looking in a mirror!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
37
Bugger!
Getting my primes mixed up.
It's 43.
So chickens are the answer to the question of life, the universe, and everything + 1
I wanna be a eunuchs developer! Pass me a bread knife!
modified 28-Feb-17 17:06pm.
|
|
|
|
|
|
n + 1
where n = the total number of chickens available at the restaurant.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Without specifying whether the purchaser may (or has to) order one package, or more than one of each package, and other details, I think there is no real question here to begin with.
Otherwise the largest available quantity is always: "gimme all ya got." And, asking for more than they "got" is nonsensical.
«When I consider my brief span of life, swallowed up in an eternity before and after, the little space I fill, and even can see, engulfed in the infinite immensity of spaces of which I am ignorant, and which know me not, I am frightened, and am astonished at being here rather than there; for there is no reason why here rather than there, now rather than then.» Blaise Pascal
|
|
|
|
|
I always like the situation, when I succeed to create a puzzle - not always intentionally - where there is room for interpretations of any kind...
What is most exciting with this one, that all choose not to see the possible math in it
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You can order whatever you want. The question should be 'What is the largest number of chickens you can order that the restaurant cannot fulfil?' and the answer is 'infinity'. (Before someone else suggests infinity + 1 or infinity + anyPositiveNumber, I'll still be right because infinity + n is still infinity)
|
|
|
|
|
jsc42 wrote: because infinity + n is still infinity
And that's a proof that 'infinity' is not a number, so you can not order 'infinity' number of packages...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You would think the answer just has to be 42, but in this case the answer is 43.
This is the Frobenius number of [6,9,20]. More info: about McNuggetNumbers
|
|
|
|
|
Sheesh, so there's a theory for it already?
I just made it up, but I don't get a purse?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
Would a plate of pancakes give you the crepes?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Oh cake what a thought!
... such stuff as dreams are made on
|
|
|
|