• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:38
CEST 12:38
KST 19:38
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S RO4 & Finals Preview: herO, GuMiho, Classic, Cure4Code S RO8 Preview: Classic, Reynor, Maru, GuMiho2Code S RO8 Preview: ByuN, Rogue, herO, Cure4[ASL19] Ro4 Preview: Storied Rivals7Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12
Community News
Code S Season 1 - RO8 Group B Results (2025)0[BSL 2v2] ProLeague Season 3 - Friday 21:00 CET3herO & Cure GSL RO8 Interviews: "I also think that all the practice I put in when Protoss wasn’t doing as well is paying off"0Code S Season 1 - herO & Cure advance to RO4 (2025)0Dark to begin military service on May 13th (2025)21
StarCraft 2
General
Code S Season 1 - RO8 Group B Results (2025) 2024/25 Off-Season Roster Moves Code S RO4 & Finals Preview: herO, GuMiho, Classic, Cure Code S RO8 Preview: Classic, Reynor, Maru, GuMiho Code S RO8 Preview: ByuN, Rogue, herO, Cure
Tourneys
[GSL 2025] Code S Season 1 - RO4 and Grand Finals [GSL 2025] Code S:Season 1 - RO8 - Group B SOOP Starcraft Global #20 RSL: Revival, a new crowdfunded tournament series SEL Code A [MMR-capped] (SC: Evo)
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 473 Cold is the Void Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise
Brood War
General
BGH auto balance -> http://bghmmr.eu/ BW General Discussion ASL 19 Tickets for foreigners Recent recommended BW games Battlenet Game Lobby Simulator
Tourneys
[ASL19] Semifinal B [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [ASL19] Semifinal A Small VOD Thread 2.0
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Beyond All Reason Stormgate/Frost Giant Megathread Grand Theft Auto VI Nintendo Switch Thread What do you want from future RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Elon Musk's lies, propaganda, etc. Ask and answer stupid questions here! Iraq & Syrian Civil Wars
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
Why 5v5 Games Keep Us Hooked…
TrAiDoS
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
ASL S19 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 23677 users

[SFW] Riddles / Puzzles / Brain Teasers - Page 23

Forum Index > General Forum
Post a Reply
Prev 1 21 22 23 24 25 38 Next All
CheAse
Profile Blog Joined July 2009
Canada919 Posts
May 09 2012 12:11 GMT
#441
On May 09 2012 21:03 frietjeman wrote:
Make this sum right by using a single straight line in any way.
5+5+5=550

I don't know the answer Saw this on a children's drawing plate and I was a bit amazed that I actually couldn't figure it out.
Maybe the makers made a mistake or I'm just missing something really obvious here.


answer:

+ Show Spoiler +

545 +5=550
or
5+5+5(not equals sign)550

SCV good to go sir
Pandemona *
Profile Blog Joined March 2011
Charlie Sheens House51458 Posts
Last Edited: 2012-05-09 12:24:21
May 09 2012 12:20 GMT
#442
Easy one :D Which i like...a Riddle too

What is once in a minute, twice in a moment, and never in a thousand years?


It's a very old simple riddle but i like ones like these


Hint:
+ Show Spoiler +
Look Closely at the sentence



Answer:
+ Show Spoiler +
The Answer Is........"M" once in a Minute twice in a MoMent and never in a thousand years :3
ModeratorTeam Liquid Football Thread Guru! - Chelsea FC ♥
frietjeman
Profile Joined February 2012
Netherlands26 Posts
May 09 2012 12:22 GMT
#443
+ Show Spoiler +
Oh you can turn a + sign into a 4 I suppose. Hadn't thought of that ^^.
I don't think you can remove the equals sign though cause then you're not really solving the sum anymore, just removing it.
Didn't expect such a fast answer wow.
Opera
Profile Joined March 2011
France469 Posts
May 09 2012 12:26 GMT
#444
On May 09 2012 21:20 Pandemona wrote:
Easy one :D Which i like...a Riddle too

What is once in a minute, twice in a moment, and never in a thousand years?


It's a very old simple riddle but i like ones like these


+ Show Spoiler +
The letter 'm' !
It ain't over till it's over
AndyGB4
Profile Joined March 2011
Canada156 Posts
May 09 2012 15:38 GMT
#445
man that pingpong ball one was really interesting. I had my mind set on + Show Spoiler +
50%
as well for a while, but I think it was because I had just read the riddle about "the family with 2 kids, and a boy answers the door, what's the probability the other child is also a boy." and seeing as that one is actually + Show Spoiler +
50%
I had a hard time changing my mind about the ping pong balls. I'm glad I kept reading all the comments! and to say I actually used to be good at stats... lol
Misder
Profile Joined October 2009
United States1557 Posts
May 09 2012 20:11 GMT
#446
Honestly, I'm really surprised that the ping-pong ball problem is still in discussion, and I'm glad actually.

Here is the problem again:
+ Show Spoiler +
On April 21 2012 03:07 TanGeng wrote:
A friend packed six ping pong balls for you, 3 orange, 3 white. He's placed them in three pockets of your sports bag. One pocket has two orange balls. One pocket has two white balls. One pocket has one white and one orange. You reach into one random pocket and pull out an orange ping pong ball. What's the probability of the other ball in the pocket being orange?



+ Show Spoiler +
At first, I thought the probability was 2/3, but after doing some research inspired by the post above, I now believe the answer is 1/2.
Take a look at this wikipedia article: http://en.wikipedia.org/wiki/Boy_or_Girl_paradox
The question posed by TanGeng is definitely more related to the paradox in the wiki article than the Monty Hall problem. The explanation given there is very similar to the explanations given in this thread for why it is 1/2 but in much more detail.
A lot of you guys are interpreting the question as the first interpretation in the Second Question section given in the wiki article, which is not the way the question is framed by TanGeng.
Whaaaa?
Aelfric
Profile Blog Joined March 2010
Turkey1496 Posts
May 09 2012 20:50 GMT
#447
Here some riddles for you guys to kill some time...

The Clock:
Sam and John was trapped in a room with only a digital clock in front of them. A speaker from nowhere told them that they can get out only if they solved the "Clock Riddle". Here it is: The clock will beep every time it reads 3 consecutive same number(e.g. 01:11). How many beeps will the clock do 2 days from now? At the beginning the clock reads 12:00am.

Numbers:
How can you place the numbers 1 through 9 in a 3x3 grid such that every row, column, and the two diagonals all add up to 15?

Assassination Attempt (This one is a bit harder):
The King of a small country invites 1000 senators to his annual party. As gifts, each senator brings the King a bottle of wine, for a grand total of 1000 bottles of wine. Each bottle is signed by the senator who gave it.

At the end of the party, the Queen tells the King that one of the senators is trying to assassinate him, and has put deadly poison in the bottle of wine he gave as a gift. Unfortunately, the Queen doesn't know which senator is the traitor (and thus doesn't know which bottle of wine has the poison in it).

The King has 10 servants. He views them as expendable, and does not care if they live or die. He decides to use them to figure out which bottle is poisoned, which will then indicate which senator is trying to assassinate him.

His plan is to make each servant drink from zero or more of the bottles of wine. The King knows that the poison is such that if a servant drinks it, he will feel fine until noon on the next day, at which point he will instantly drop dead.

The King must know for sure who the traitor is by noon on the day after the party, or else the traitor will try to find another way to assassinate him. This essentially means that he has one shot to make his servants drink the wine in order to figure out which is the poison wine.

Note that the King can make any of the servants drink from any of the wine bottles. He does not need to make all of the servants drink wine if he doesn't want to. Any servant who drinks from the poisoned bottle will die the next day at noon.

How can the King figure out for sure who the traitor is by noon on the following day?

Critical Hint (Don't check if you want to solve everything on your own):
+ Show Spoiler +
Think of a grid, with 1000 rows representing the bottles of wine, and 10 columns representing the servants.
Tomorrow never comes until its too late...
frogrubdown
Profile Blog Joined June 2011
1266 Posts
May 09 2012 21:18 GMT
#448
On May 10 2012 05:11 Misder wrote:
Honestly, I'm really surprised that the ping-pong ball problem is still in discussion, and I'm glad actually.

Here is the problem again:
+ Show Spoiler +
On April 21 2012 03:07 TanGeng wrote:
A friend packed six ping pong balls for you, 3 orange, 3 white. He's placed them in three pockets of your sports bag. One pocket has two orange balls. One pocket has two white balls. One pocket has one white and one orange. You reach into one random pocket and pull out an orange ping pong ball. What's the probability of the other ball in the pocket being orange?



+ Show Spoiler +
At first, I thought the probability was 2/3, but after doing some research inspired by the post above, I now believe the answer is 1/2.
Take a look at this wikipedia article: http://en.wikipedia.org/wiki/Boy_or_Girl_paradox
The question posed by TanGeng is definitely more related to the paradox in the wiki article than the Monty Hall problem. The explanation given there is very similar to the explanations given in this thread for why it is 1/2 but in much more detail.
A lot of you guys are interpreting the question as the first interpretation in the Second Question section given in the wiki article, which is not the way the question is framed by TanGeng.


Well, I guess this is what I'm using my 500th post on.

+ Show Spoiler +

The difference between the two cases is that in the ping pong case, there is only one mixed pocket whereas in the boy/girl case there are two different mixed possibilities (older girl and younger boy or older boy and younger girl). The latter case gives 50% chance if the child who is a boy was selected at random because even though there are two ways for there to be a girl sibling, each way is half as likely to result in a boy being randomly selected as the two boy case. In the ping pong case, the mixed hole still gives half the chance of returning the orange ball as the double orange hole, but since there's only one mixed hole this means that the chance that the other ball is white is half the chance that the other is orange.

There really isn't any reason to have to argue by vague gestures to analogous situations. You can just learn Bayes' Theorem and learn how to use it. Let 'A' stand for proposition that you drew from the double-orange hole and 'B' for the proposition that the drawn ball was orange. By Bayes' theorem:

P(A|B)=P(B|A) x (P(A)/P(B))

P(A)=1/3 since there are three pockets and the draw is random
P(B)=0.5 since there are equal number of balls of each color and they are drawn at random.
P(B|A)=1 since any draw from the double orange hole yields an orange.

Therefore,

P(A|B)=1 x (1/3)/0.5=2/3


frogrubdown
Profile Blog Joined June 2011
1266 Posts
Last Edited: 2012-05-09 21:28:21
May 09 2012 21:27 GMT
#449
On May 10 2012 05:50 Aelfric wrote:

Numbers:
How can you place the numbers 1 through 9 in a 3x3 grid such that every row, column, and the two diagonals all add up to 15?



+ Show Spoiler +


|2|7|6|
|9|5|1|
|4|3|8|

perihalt
Profile Joined May 2012
1 Post
Last Edited: 2012-05-09 21:32:30
May 09 2012 21:31 GMT
#450
On May 10 2012 05:50 Aelfric wrote:
Assassination Attempt (This one is a bit harder):
The King of a small country invites 1000 senators to his annual party. As gifts, each senator brings the King a bottle of wine, for a grand total of 1000 bottles of wine. Each bottle is signed by the senator who gave it.

At the end of the party, the Queen tells the King that one of the senators is trying to assassinate him, and has put deadly poison in the bottle of wine he gave as a gift. Unfortunately, the Queen doesn't know which senator is the traitor (and thus doesn't know which bottle of wine has the poison in it).

The King has 10 servants. He views them as expendable, and does not care if they live or die. He decides to use them to figure out which bottle is poisoned, which will then indicate which senator is trying to assassinate him.

His plan is to make each servant drink from zero or more of the bottles of wine. The King knows that the poison is such that if a servant drinks it, he will feel fine until noon on the next day, at which point he will instantly drop dead.

The King must know for sure who the traitor is by noon on the day after the party, or else the traitor will try to find another way to assassinate him. This essentially means that he has one shot to make his servants drink the wine in order to figure out which is the poison wine.

Note that the King can make any of the servants drink from any of the wine bottles. He does not need to make all of the servants drink wine if he doesn't want to. Any servant who drinks from the poisoned bottle will die the next day at noon.

How can the King figure out for sure who the traitor is by noon on the following day?

Critical Hint (Don't check if you want to solve everything on your own):
+ Show Spoiler +
Think of a grid, with 1000 rows representing the bottles of wine, and 10 columns representing the servants.


+ Show Spoiler +

I really don't want to do a truth table for 10 servants and 1000 bottles, so i'll do one for 3 and 8. The principle is the same and will always work if the number of bottles is equal or smaller than 2^(number of servants).
B is the bottle with the corresponding number, S1-S3 are the servants. 1 means "drink from bottle", 0 "don't drink from bottle".
B D1 D2 D3
1 1 1 1
2 1 1 0
3 1 0 1
4 1 0 0
5 0 1 1
6 0 1 0
7 0 0 1
8 0 0 0

If 3 servants die the next day, bottle 1 was poisoned. If D1 and D2 die, bottle 2 was poisoned. And so on...
For 1000 bottles and 10 servants, the first servant would have to drink the first 500 bottles, the second would have to drink bottles 0-250 and 500-750, and so on.


edit: writing this down took forever and it still looks kind of bad. Oh well, hope it's understandable anyway.
Misder
Profile Joined October 2009
United States1557 Posts
May 09 2012 22:02 GMT
#451
On May 10 2012 06:18 frogrubdown wrote:
Show nested quote +
On May 10 2012 05:11 Misder wrote:
Honestly, I'm really surprised that the ping-pong ball problem is still in discussion, and I'm glad actually.

Here is the problem again:
+ Show Spoiler +
On April 21 2012 03:07 TanGeng wrote:
A friend packed six ping pong balls for you, 3 orange, 3 white. He's placed them in three pockets of your sports bag. One pocket has two orange balls. One pocket has two white balls. One pocket has one white and one orange. You reach into one random pocket and pull out an orange ping pong ball. What's the probability of the other ball in the pocket being orange?



+ Show Spoiler +
At first, I thought the probability was 2/3, but after doing some research inspired by the post above, I now believe the answer is 1/2.
Take a look at this wikipedia article: http://en.wikipedia.org/wiki/Boy_or_Girl_paradox
The question posed by TanGeng is definitely more related to the paradox in the wiki article than the Monty Hall problem. The explanation given there is very similar to the explanations given in this thread for why it is 1/2 but in much more detail.
A lot of you guys are interpreting the question as the first interpretation in the Second Question section given in the wiki article, which is not the way the question is framed by TanGeng.


Well, I guess this is what I'm using my 500th post on.

+ Show Spoiler +

The difference between the two cases is that in the ping pong case, there is only one mixed pocket whereas in the boy/girl case there are two different mixed possibilities (older girl and younger boy or older boy and younger girl). The latter case gives 50% chance if the child who is a boy was selected at random because even though there are two ways for there to be a girl sibling, each way is half as likely to result in a boy being randomly selected as the two boy case. In the ping pong case, the mixed hole still gives half the chance of returning the orange ball as the double orange hole, but since there's only one mixed hole this means that the chance that the other ball is white is half the chance that the other is orange.

There really isn't any reason to have to argue by vague gestures to analogous situations. You can just learn Bayes' Theorem and learn how to use it. Let 'A' stand for proposition that you drew from the double-orange hole and 'B' for the proposition that the drawn ball was orange. By Bayes' theorem:

P(A|B)=P(B|A) x (P(A)/P(B))

P(A)=1/3 since there are three pockets and the draw is random
P(B)=0.5 since there are equal number of balls of each color and they are drawn at random.
P(B|A)=1 since any draw from the double orange hole yields an orange.

Therefore,

P(A|B)=1 x (1/3)/0.5=2/3




+ Show Spoiler +
zzzzzzzz. I'm upset. I spent so much effort convincing myself that the answer was 1/2 that I completely forgot that P(orange-orange) =/= P(orange-white) given orange is chosen, which, of course, is the basis of the problem anyway. herp derp. And I try Bayes'... but completely botched it when I did it earlier cause I got 1/2...
Whaaaa?
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2012-05-09 22:08:09
May 09 2012 22:05 GMT
#452
On May 10 2012 05:50 Aelfric wrote:

Numbers:
How can you place the numbers 1 through 9 in a 3x3 grid such that every row, column, and the two diagonals all add up to 15?




On May 10 2012 06:27 frogrubdown wrote:

+ Show Spoiler +


|2|7|6|
|9|5|1|
|4|3|8|



In addition to this answer (as there are many if you count rotational symmetry), here's a quick and easy method to answer that for any odd-numbered square.


+ Show Spoiler +
start at the top row, in the center with the number 1. Assume rows and columns wrap around (e.g. going "up" from the first row ==> last row, and so on). Go up and right, and place the next number there. If a number exists in that position already, then instead of going up and right, go down once instead. Continue until square is filled.

In this case, this would result in the following square

816
357
492

If you'll notice, that's the same square as frog's except rotated 90* ccw and flipped horizontally!
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Iranon
Profile Blog Joined March 2010
United States983 Posts
May 09 2012 22:33 GMT
#453
On May 10 2012 07:05 JeeJee wrote:
Show nested quote +
On May 10 2012 05:50 Aelfric wrote:

Numbers:
How can you place the numbers 1 through 9 in a 3x3 grid such that every row, column, and the two diagonals all add up to 15?




Show nested quote +
On May 10 2012 06:27 frogrubdown wrote:

+ Show Spoiler +


|2|7|6|
|9|5|1|
|4|3|8|



In addition to this answer (as there are many if you count rotational symmetry), here's a quick and easy method to answer that for any odd-numbered square.


+ Show Spoiler +
start at the top row, in the center with the number 1. Assume rows and columns wrap around (e.g. going "up" from the first row ==> last row, and so on). Go up and right, and place the next number there. If a number exists in that position already, then instead of going up and right, go down once instead. Continue until square is filled.

In this case, this would result in the following square

816
357
492

If you'll notice, that's the same square as frog's except rotated 90* ccw and flipped horizontally!



+ Show Spoiler +
There aren't that many solutions, there are only eight 3x3 magic squares. There's only one, really, and then its seven symmetric counterparts (rotate it 90 degrees three times to get the next three of them, then take its mirror image and rotate that four times to get the other ones. For n>3, however, there are lots and lots of ways to arrange the numbers from 1 to n^2 in a grid with row/column/diagonal sums equal. For example, there are 880 (7040 if you count symmetric copies as different) 4x4 such squares, and so on.
xxpack09
Profile Blog Joined September 2010
United States2160 Posts
May 09 2012 22:49 GMT
#454
On May 10 2012 05:50 Aelfric wrote:
Here some riddles for you guys to kill some time...

Assassination Attempt (This one is a bit harder):
The King of a small country invites 1000 senators to his annual party. As gifts, each senator brings the King a bottle of wine, for a grand total of 1000 bottles of wine. Each bottle is signed by the senator who gave it.

At the end of the party, the Queen tells the King that one of the senators is trying to assassinate him, and has put deadly poison in the bottle of wine he gave as a gift. Unfortunately, the Queen doesn't know which senator is the traitor (and thus doesn't know which bottle of wine has the poison in it).

The King has 10 servants. He views them as expendable, and does not care if they live or die. He decides to use them to figure out which bottle is poisoned, which will then indicate which senator is trying to assassinate him.

His plan is to make each servant drink from zero or more of the bottles of wine. The King knows that the poison is such that if a servant drinks it, he will feel fine until noon on the next day, at which point he will instantly drop dead.

The King must know for sure who the traitor is by noon on the day after the party, or else the traitor will try to find another way to assassinate him. This essentially means that he has one shot to make his servants drink the wine in order to figure out which is the poison wine.

Note that the King can make any of the servants drink from any of the wine bottles. He does not need to make all of the servants drink wine if he doesn't want to. Any servant who drinks from the poisoned bottle will die the next day at noon.

How can the King figure out for sure who the traitor is by noon on the following day?

Critical Hint (Don't check if you want to solve everything on your own):
+ Show Spoiler +
Think of a grid, with 1000 rows representing the bottles of wine, and 10 columns representing the servants.


+ Show Spoiler +
So this problem should be possible for up to 1024 bottles of wine. For each bottle, assign some combination of servants to drink it. (so bottle 1 can have no one drink it, bottle 2 just servant 1, etc. Since each of the 10 servants can either drink or not drink (2 possibilities), the number of unique bottle combinations is 2^10 = 1024. Upon seeing what combination of servants die, the correct bottle can be determined.
TanGeng
Profile Blog Joined January 2009
Sanya12364 Posts
May 10 2012 03:44 GMT
#455
The Seat Snatcher Manager

A company bus with twenty seats picks up twenty employees at their homes and shuttles them to and from work everyday. The twenty employees each have an assigned seat from the back to the front in the order they are picked up. The first employee on the bus route is an obnoxious manager with unpredictable behavior. Every morning, the manager boards the bus randomly at any one of the twenty stops. The manager cuts in front other employees at the stop, boards the bus, sits in an unoccupied seats at random, and then yaks away on the cell phone.

All other employees roll their eyes at the behavior. When they board the bus, if they sit in their assigned seat if unoccupied. Otherwise, they pick an unoccupied seat at random and sit there. You are Frank, the last employee to be picked up along the bus route. How often do you sit in the frontmost seat?
Moderator我们是个踏实的赞助商模式俱乐部
Alventenie
Profile Joined July 2007
United States2147 Posts
May 10 2012 04:04 GMT
#456
On May 10 2012 05:50 Aelfric wrote:
Here some riddles for you guys to kill some time...

The Clock:
Sam and John was trapped in a room with only a digital clock in front of them. A speaker from nowhere told them that they can get out only if they solved the "Clock Riddle". Here it is: The clock will beep every time it reads 3 consecutive same number(e.g. 01:11). How many beeps will the clock do 2 days from now? At the beginning the clock reads 12:00am.



+ Show Spoiler +
I think it ends up being 34 each day for 68 over 2 days. times should include:

12:22
1:11
2:22
3:33
4:44
5:55
10:00
11:10
11:11
11:12
11:13
11:14
11:15
11:16
11:17
11:18
11:19

Once you hit 12pm it goes back to the top to repeat again.

If for whatever reason 11:11 beeps twice due to being able to be split into 2 sets of 3 1's then it would be 36 per day for 72 over the 2 days.
TanGeng
Profile Blog Joined January 2009
Sanya12364 Posts
Last Edited: 2012-05-10 18:19:30
May 10 2012 11:36 GMT
#457
Mountaineers and Sherpas

A mountaineer is attempting a climb through a mountain gap from base camp A to base camp B. The route takes six days. At base camp A, the mountaineer finds sherpas for hire. He can get them to carry his supplies and equipment but must feed them and must not allow the sherpas to starve. The mountaineer and the sherpas can carry a maximum of four days supply while climbing. How does the mountaineer get from base camp to base camp in six days? How many days of supply does he buy?

The next year, the mountaineer returns to make the climb but no sherpas are available. How does the mountaineer make the climb on his own?

+ Show Spoiler +

The mountaineer hires two sherpas, who we will call Tarjee and Harjee, and buys 12 days worth of supplies. The mountaineer with his two companies set off with full packs. After the first day, Tarjee gives up two days' worth of supplies and returns home. Harjee and the mountaineer each receive one day's worth of supplies and continue the climb. After the climb on the second day, Harjee gives up one day's worth of supplies and return home. The mountain again receives one day's worth of supplies. He has four days' supply and four days' climb and makes it to Camp B.

The next year, when the mountaineer has to do it alone, the mountaineer figures out a way to cache and retrieve supplies in the wilderness after a day of climbing. The mountaineer buys 12 days worth of supplies and mimics, in series, the climb and supply exchanges of Tarjee, Harjee, and himself the year before. He climbs as Tarjee first, then as Harjee, then as himself, and makes it to Camp B after 12 days.
Moderator我们是个踏实的赞助商模式俱乐部
Iranon
Profile Blog Joined March 2010
United States983 Posts
May 10 2012 12:20 GMT
#458
On May 10 2012 12:44 TanGeng wrote:
The Seat Snatcher Manager

A company bus with twenty seats picks up twenty employees at their homes and shuttles them to and from work everyday. The twenty employees each have an assigned seat from the back to the front in the order they are picked up. The first employee on the bus route is an obnoxious manager with unpredictable behavior. Every morning, the manager boards the bus randomly at any one of the twenty stops. The manager cuts in front other employees at the stop, boards the bus, sits in an unoccupied seats at random, and then yaks away on the cell phone.

All other employees roll their eyes at the behavior. When they board the bus, if they sit in their assigned seat if unoccupied. Otherwise, they pick an unoccupied seat at random and sit there. You are Frank, the last employee to be picked up along the bus route. How often do you sit in the frontmost seat?


I like this one.

+ Show Spoiler +
50%.
+ Show Spoiler +
Suppose there were only 2 seats. Then clearly the manager either sits in your seat or his own, and you get your own seat 50% of the time. Increase the number of seats by one at a time and watch what happens. 3 seats. We have three equally likely cases. If the manager takes his own seat, everyone (including you) gets their own seat. If the manager takes your seat, then regardless of where the second guy goes, you're not getting your seat. In the third case, the manager takes the second guy's seat, and then the second guy either takes yours (50%) or leaves yours for you (50%). That evens out to a 50-50 overall shot you get your own seat.

Four seats (and after this I trust the pattern will be obvious enough that you can see it holds for any number of seats). We've got four equally likely cases. If the manager takes his own seat, you get your own seat, and so does everyone else. If the manager takes your seat, you obviously get someone else's seat. In the other two cases, the manager takes either the 2nd or 3rd guy's seat. If he had taken the 3rd guy's seat, then the 2nd guy takes his own seat, and the third guy either goes in the manager's seat or in yours (50% each way). If he had taken the 2nd guy's seat, then we're back in the scenario with 3 seats total described above -- we have three empty seats, you're going last, and the next person to get on is taking a random seat, which we already know comes out 50-50 that you get your seat.

This continues. With N seats, there's N equally likely scenarios -- one in which everyone gets their own seat, one in which you definitely get someone else's seat, and N-2 more which all reduce to previous cases that all have a 50% chance of you getting your own seat. Basically, if the manager takes his seat we know what happens, if the manager takes you seat we know what happens, and if he takes anyone else's seat we don't care -- all that does is delay the inevitable arrival of someone who has two seats to choose randomly between; yours and the one corresponding to whoever took his seat.
BlindSC2
Profile Joined January 2011
United Kingdom435 Posts
May 10 2012 12:38 GMT
#459
On May 10 2012 07:05 JeeJee wrote:
Show nested quote +
On May 10 2012 05:50 Aelfric wrote:

Numbers:
How can you place the numbers 1 through 9 in a 3x3 grid such that every row, column, and the two diagonals all add up to 15?




Show nested quote +
On May 10 2012 06:27 frogrubdown wrote:

+ Show Spoiler +


|2|7|6|
|9|5|1|
|4|3|8|



In addition to this answer (as there are many if you count rotational symmetry), here's a quick and easy method to answer that for any odd-numbered square.


+ Show Spoiler +
start at the top row, in the center with the number 1. Assume rows and columns wrap around (e.g. going "up" from the first row ==> last row, and so on). Go up and right, and place the next number there. If a number exists in that position already, then instead of going up and right, go down once instead. Continue until square is filled.

In this case, this would result in the following square

816
357
492

If you'll notice, that's the same square as frog's except rotated 90* ccw and flipped horizontally!


+ Show Spoiler +

Interesting, I did it simply by finding the central number first. If you put, for example, the nine in the centre, you'll find that wherever you put the eight/seven/six in, that line will come to over fifteen. The highest number that you can put in the centre is five, and it makes sense that you want the highest number possible in the centre since you're going to have to make use of one and two etc, and they need 'counter balancing' so to speak.

For the rest you can pretty much fill it in quite easily because of the rotational symmetry. Just put a random number elsewhere in the box, complete that line, and continue from there
Wise men speak because they have something to say, fools; because they have to say something - Plato
Kambing
Profile Joined May 2010
United States1176 Posts
May 10 2012 13:29 GMT
#460
On May 10 2012 07:49 xxpack09 wrote:
Show nested quote +
On May 10 2012 05:50 Aelfric wrote:
Here some riddles for you guys to kill some time...

Assassination Attempt (This one is a bit harder):
The King of a small country invites 1000 senators to his annual party. As gifts, each senator brings the King a bottle of wine, for a grand total of 1000 bottles of wine. Each bottle is signed by the senator who gave it.

At the end of the party, the Queen tells the King that one of the senators is trying to assassinate him, and has put deadly poison in the bottle of wine he gave as a gift. Unfortunately, the Queen doesn't know which senator is the traitor (and thus doesn't know which bottle of wine has the poison in it).

The King has 10 servants. He views them as expendable, and does not care if they live or die. He decides to use them to figure out which bottle is poisoned, which will then indicate which senator is trying to assassinate him.

His plan is to make each servant drink from zero or more of the bottles of wine. The King knows that the poison is such that if a servant drinks it, he will feel fine until noon on the next day, at which point he will instantly drop dead.

The King must know for sure who the traitor is by noon on the day after the party, or else the traitor will try to find another way to assassinate him. This essentially means that he has one shot to make his servants drink the wine in order to figure out which is the poison wine.

Note that the King can make any of the servants drink from any of the wine bottles. He does not need to make all of the servants drink wine if he doesn't want to. Any servant who drinks from the poisoned bottle will die the next day at noon.

How can the King figure out for sure who the traitor is by noon on the following day?

Critical Hint (Don't check if you want to solve everything on your own):
+ Show Spoiler +
Think of a grid, with 1000 rows representing the bottles of wine, and 10 columns representing the servants.


+ Show Spoiler +
So this problem should be possible for up to 1024 bottles of wine. For each bottle, assign some combination of servants to drink it. (so bottle 1 can have no one drink it, bottle 2 just servant 1, etc. Since each of the 10 servants can either drink or not drink (2 possibilities), the number of unique bottle combinations is 2^10 = 1024. Upon seeing what combination of servants die, the correct bottle can be determined.


+ Show Spoiler +

An alternative explanation that illuminates the coding principle behind the solution:

Number the bottles from 1 to 1000 and each servant from 1 to 10. For each bottle i, let b be i in binary (base 2) with digits b1...b10 (since 2^10 = 1024, you need 10 binary digits (bits) to represent the numbers from 1 to 1000), and let the nth servant drink from the bottle if bn is 1. For example, 75 in binary is 0001001011 so servants 1, 2, 4, and 7 should drink from the 75th bottle.

The ith bottle is poisoned if and only if all the servants that drank from that bottle die. Because there is a unique representation in binary for each digit from 1 to 1000 using 10 bits, there is a unique combination of servants that drink from each bottle.
Prev 1 21 22 23 24 25 38 Next All
Please log in or register to reply.
Live Events Refresh
GSL Code S
09:30
Semi-Finals & Finals
Classic vs Cure
herO vs TBD
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
EnDerr 6
StarCraft: Brood War
Shuttle 1555
Bisu 998
Hyuk 883
actioN 554
BeSt 382
Stork 330
PianO 271
TY 132
ZerO 132
Dewaltoss 125
[ Show more ]
Nal_rA 118
Mini 108
Liquid`Ret 54
NaDa 51
sSak 47
sorry 44
Barracks 36
soO 30
zelot 28
Sacsri 13
IntoTheRainbow 9
HiyA 0
Dota 2
XaKoH 471
XcaliburYe439
Counter-Strike
fl0m2138
olofmeister1232
shoxiejesuss482
kRYSTAL_13
Other Games
summit1g3258
singsing1641
DeMusliM138
crisheroes130
SortOf85
ArmadaUGS14
ZerO(Twitch)14
B2W.Neo11
Organizations
Counter-Strike
PGL52031
Other Games
gamesdonequick648
StarCraft 2
ESL.tv140
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH281
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV522
League of Legends
• Stunt425
Upcoming Events
BSL 2v2 ProLeague S3
8h 22m
OSC
13h 22m
Korean StarCraft League
16h 22m
RSL Revival
23h 22m
SOOP Global
1d 4h
Spirit vs SKillous
YoungYakov vs ShowTime
SOOP
1d 6h
HeRoMaRinE vs Astrea
BSL Season 20
1d 7h
UltrA vs Radley
spx vs RaNgeD
Online Event
1d 17h
Clem vs ShoWTimE
herO vs MaxPax
Sparkling Tuna Cup
1d 23h
WardiTV Invitational
2 days
Percival vs TriGGeR
ByuN vs Solar
Clem vs Spirit
MaxPax vs Jumy
[ Show More ]
BSL Season 20
2 days
TerrOr vs HBO
Tarson vs Spine
RSL Revival
2 days
BSL Season 20
2 days
MadiNho vs dxtr13
Gypsy vs Dark
Wardi Open
3 days
Monday Night Weeklies
3 days
Replay Cast
4 days
The PondCast
4 days
Replay Cast
5 days
Replay Cast
5 days
Liquipedia Results

Completed

BSL Nation Wars Season 2
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
2025 GSL S1
Heroes 10 EU
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

NPSL S3
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.