DJRome
Smash Hero
So, last night, my friends and I went to dinner and we had some logic problems that were really fun to think about. Some of these are easy and some are quite hard. The only rules for this are that you don't search the answer only (really, where is the fun in that) and that you put your guesses/answers in spoilers.
I will add other people's logic problems to the OP and give credit to the first person to solve and cross it out once we have solved it.
[And don't chime in if you know the answer already obviously]
Here's the ones we did to start off.
1.Quarters
3 vending machines. 1 vends only Coke, 1 vends only Pepsi, and one vends both. One night, someone switches the labels so that all 3 machines have the wrong labels on them. It costs 1 quarter to vend a soda. What is the least number of quarters you need to figure out which machine is which, and how would you figure it out?
Solved by EWB
2.Light bulb
A house has a light bulb in it. 3 switches on the outside can be switched on and off and only 1 turns the light bulb on. The other 2 are dummies. You can mess with the switches however you want before you enter the house, but once you enter the house, you cannot touch the switches. How do you figure out which switch turns on the light bulb? You cannot see into the house from the outside.
Solved by EWB
3.Cue balls
You have 8 cue balls that are all the same except that 1 is lighter. You can't tell from holding it that it is lighter, but you have a balance that you can use. A man bets you $50000 that he can balance twice the balls in any combination and tell you which ball it is. Do you take the bet? Explain.
Solved by Moses
4.Hats
10 people are stuck on an island. They are found by a cannibalistic tribe. The tribe decides to play a game with them for their survival. They give them a night to decide on a strategy for the game. The next day, a bag of infinite black and red hats with a 50/50 chance to pull either is used. Each person is lined up so that they can see only the people in front of them. Each person is to say the color of their hat and if they are right, they live and if not they die. The people in front of them do not know if the person saying the color of their hat dies or not, but they can hear what color they give.
Each person must say either black or red only. Another restriction is that you can have them say it in a way to mean something or whatever, just straight up red or black.
> > > > > > > > > >
What is the strategy to save the most people guaranteed and how many people can you save this way?
Solved by ZR
I will add other people's logic problems to the OP and give credit to the first person to solve and cross it out once we have solved it.
[And don't chime in if you know the answer already obviously]
Here's the ones we did to start off.
1.
3 vending machines. 1 vends only Coke, 1 vends only Pepsi, and one vends both. One night, someone switches the labels so that all 3 machines have the wrong labels on them. It costs 1 quarter to vend a soda. What is the least number of quarters you need to figure out which machine is which, and how would you figure it out?
Solved by EWB
One quarter.
Go to the machine Labeled "Both." Since this is wrong, it is either only Pepsi or only Coke. Buy one soda from there to determine which it is.
Suppose it's Pepsi. The two remaining machines labeled "Pepsi" and "Coke" are actually a Coke machine and a dual drink machine. Since we're given that all 3 machines are labeled wrongly, "Coke" is not the Coke machine. So "Coke" has both, and "Pepsi" has Coke.
Go to the machine Labeled "Both." Since this is wrong, it is either only Pepsi or only Coke. Buy one soda from there to determine which it is.
Suppose it's Pepsi. The two remaining machines labeled "Pepsi" and "Coke" are actually a Coke machine and a dual drink machine. Since we're given that all 3 machines are labeled wrongly, "Coke" is not the Coke machine. So "Coke" has both, and "Pepsi" has Coke.
2.
A house has a light bulb in it. 3 switches on the outside can be switched on and off and only 1 turns the light bulb on. The other 2 are dummies. You can mess with the switches however you want before you enter the house, but once you enter the house, you cannot touch the switches. How do you figure out which switch turns on the light bulb? You cannot see into the house from the outside.
Solved by EWB
Flip switch A. Wait 30 minutes. Turn off switch A, flip switch B, and go in the house quickly.
If the light is on, switch B turns on the light.
If the light is off, feel the bulb. If it is hot, switch A turns on the light. If not, switch C turns on the light.
If the light is on, switch B turns on the light.
If the light is off, feel the bulb. If it is hot, switch A turns on the light. If not, switch C turns on the light.
3.
You have 8 cue balls that are all the same except that 1 is lighter. You can't tell from holding it that it is lighter, but you have a balance that you can use. A man bets you $50000 that he can balance twice the balls in any combination and tell you which ball it is. Do you take the bet? Explain.
Solved by Moses
Don't take the bet.
How to find which is lighter:
Take the eight balls, split into three groups: 2 with 3 balls, 1 with 2 balls.
Weigh each group of 3 against each other (1st weigh). If they don't balance, the light ball is in that group of three. Take that group of three, and weigh any two balls against one another (2nd weigh). If they balance, the odd ball out is lighter, if not, the scale will tell which is the light ball.
If the two groups of three balls do balance, then the light ball is one of the two left. Balance them against each other and you will find the lighter ball (2nd weigh).
How to find which is lighter:
Take the eight balls, split into three groups: 2 with 3 balls, 1 with 2 balls.
Weigh each group of 3 against each other (1st weigh). If they don't balance, the light ball is in that group of three. Take that group of three, and weigh any two balls against one another (2nd weigh). If they balance, the odd ball out is lighter, if not, the scale will tell which is the light ball.
If the two groups of three balls do balance, then the light ball is one of the two left. Balance them against each other and you will find the lighter ball (2nd weigh).
4.
10 people are stuck on an island. They are found by a cannibalistic tribe. The tribe decides to play a game with them for their survival. They give them a night to decide on a strategy for the game. The next day, a bag of infinite black and red hats with a 50/50 chance to pull either is used. Each person is lined up so that they can see only the people in front of them. Each person is to say the color of their hat and if they are right, they live and if not they die. The people in front of them do not know if the person saying the color of their hat dies or not, but they can hear what color they give.
Each person must say either black or red only. Another restriction is that you can have them say it in a way to mean something or whatever, just straight up red or black.
> > > > > > > > > >
What is the strategy to save the most people guaranteed and how many people can you save this way?
Solved by ZR
So, we have guy 10 who sees 9 hats. Therefore, one color will have an odd number of representations and another an even. So guy 10 codes one color to mean odd and the other to mean even (everyone else knows this code as well). So by letting guy 9 know that say there are an odd number of black hats, guy 9 will know whether he has a black hat or red hat (if he sees an even number of red hats, that means he has to have a black hat). Guy 8 will then know that there are an even number of both hats. So he has the color of the hat which he only sees an odd number amount. And so on.
So 9 are guaranteed to survive. And the 10th has a 50/50 draw.
So 9 are guaranteed to survive. And the 10th has a 50/50 draw.