• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:33
CEST 02:33
KST 09:33
  • 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)4[BSL 2v2] ProLeague Season 3 - Friday 21:00 CET6herO & 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
BW General Discussion ASL 19 Tickets for foreigners BGH auto balance -> http://bghmmr.eu/ Recent recommended BW games Battlenet Game Lobby Simulator
Tourneys
[ASL19] Semifinal A [ASL19] Semifinal B [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [ASL19] Ro8 Day 4
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
UK Politics Mega-thread US Politics Mega-thread Russo-Ukrainian War Thread Elon Musk's lies, propaganda, etc. Ask and answer stupid questions here!
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey
Sports
NHL Playoffs 2024 2024 - 2025 Football Thread 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: 10415 users

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

Forum Index > General Forum
Post a Reply
Prev 1 24 25 26 27 28 38 Next All
Misder
Profile Joined October 2009
United States1557 Posts
May 11 2012 18:11 GMT
#501
On May 11 2012 07:14 CptZouglou wrote:
Enjoy this new (quite difficult) riddle:

You are a russian bomber, and you want to send a bomb on a nuclear submarine. The submarine is located on a line and has an integer position (can be negative). It moves at a constant integer speed (can be negative too) each second. The good part is that you have an unlimited amount of bombs, and you can send one each second at a any position. The problem is that you don't know where is the submarine at time 0, and what its speed is.

Is there a way to ensure that you can send hit the submarine in a finite amount of time ? If yes, what is your strategy ?

hint:
+ Show Spoiler +

Yes! Consider the problem as finding two parameters initial position (p) and speed (s). After t seconds, the submarine is at position p + t*s. Try and find a way to explore all possible initial positions and speeds !


I'm actually curious about the answer for this... Is there another hint?


On the ball problem-
+ Show Spoiler +
Ok, I think I realize how I got myself confused on why the answer is 1/2 and why some people are saying that the answer is 1/2.
Suppose that instead of you, your friend is the one in the problem, and you are being posed the problem. Now, your friend chooses a random pocket. Your friend looks into the pocket (so he knows the combination of the two balls). If, it's WW, then discard the trial. However, if it's a pocket with at least one orange ball- count the trial. Your friend looks into the pocket and pulls out an orange ball. Now you are asked what the probability of the other ball is orange. In this case the answer is 1/2.

However, I think the way the answer is posed, is that you don't know that you are pulling an orange ball until you pull it out, which is crucial to the reason why the answer is 2/3.
Whaaaa?
zaikantos
Profile Joined July 2011
Netherlands43 Posts
May 11 2012 19:19 GMT
#502
On May 12 2012 03:11 Misder wrote:
On the ball problem-
+ Show Spoiler +
Ok, I think I realize how I got myself confused on why the answer is 1/2 and why some people are saying that the answer is 1/2.
Suppose that instead of you, your friend is the one in the problem, and you are being posed the problem. Now, your friend chooses a random pocket. Your friend looks into the pocket (so he knows the combination of the two balls). If, it's WW, then discard the trial. However, if it's a pocket with at least one orange ball- count the trial. Your friend looks into the pocket and pulls out an orange ball. Now you are asked what the probability of the other ball is orange. In this case the answer is 1/2.

However, I think the way the answer is posed, is that you don't know that you are pulling an orange ball until you pull it out, which is crucial to the reason why the answer is 2/3.


The first is indeed what I think.

You pick a pocket, then pull out an/the orange ball.

I think the question is posed so that you always pull out an/the orange ball, and never the white ball in the OW pocket.

You reach into one random pocket and pull out an orange ping pong ball.

I think that this means that you randomly pick a pocket, but then must pick an/the orange ball if possible.

If it said "one of the two balls", "randomly pick a ball out of the pocket" or something with the same meaning i would agree with it being 2/3rd, but it doesn't.

I guess that this is dependant on how you read it though, and I'm not too confident we'll agree soon. I say that we just leave this riddle for what it is now, and don't clutter the thread up about it anymore.
No.
Sandster
Profile Joined November 2006
United States4054 Posts
May 11 2012 20:26 GMT
#503
I won't comment on this any further, but the problem is very explicit in wording. It never mentions prioritizing orange, or looking into the bag after picking one.

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?


A different way to phrase the same question is, someone else "reached into one random pocket and pulled out an orange ping pong ball." If you were now to place money on the color of the other ball in the bag, the bet with the higher statistical probability, at 2/3, is orange.

The question does not need to say that he picked a random ball in the bag, because he does not know the contents of the bag and therefore the ball selection must be random. And the result was orange. Change the wording if you like, but then you're not answering the same problem. I don't see how you can possibly think the question is saying, "you pick a bag, you look into it, you see at least one orange ball, you take an orange ball out, and now what's the probability of the other ball being orange [even though you plainly can see it]"?
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2012-05-11 21:54:33
May 11 2012 21:54 GMT
#504
On May 12 2012 03:11 Misder wrote:
Show nested quote +
On May 11 2012 07:14 CptZouglou wrote:
Enjoy this new (quite difficult) riddle:

You are a russian bomber, and you want to send a bomb on a nuclear submarine. The submarine is located on a line and has an integer position (can be negative). It moves at a constant integer speed (can be negative too) each second. The good part is that you have an unlimited amount of bombs, and you can send one each second at a any position. The problem is that you don't know where is the submarine at time 0, and what its speed is.

Is there a way to ensure that you can send hit the submarine in a finite amount of time ? If yes, what is your strategy ?

hint:
+ Show Spoiler +

Yes! Consider the problem as finding two parameters initial position (p) and speed (s). After t seconds, the submarine is at position p + t*s. Try and find a way to explore all possible initial positions and speeds !


I'm actually curious about the answer for this... Is there another hint?


It would be hard for him to give another hint without giving away the answer.

Anyway, the answer is like this
+ Show Spoiler +

[image loading]
x-axis is position, y-axis is speed.
You start in the middle of the spiral, and try bombing a location based on each combination of position and speed.

I actually already gave this problem a long time ago, so I'm just stealing my answer from before.
http://www.teamliquid.net/blogs/viewblog.php?id=65795
http://www.teamliquid.net/blogs/viewblog.php?id=65709
Happystreet
Profile Joined January 2011
550 Posts
May 11 2012 22:00 GMT
#505
Holy shit this is going far O.o
MKP | Jinro | Thorzain | Flash | Bomber | Amaz
Mr.F.
Profile Blog Joined July 2011
United States62 Posts
May 11 2012 22:32 GMT
#506
come on guys, did we all forget what the OP stated already?

WARNING:
Do not argue - about anything - in this thread. Use PMs.
Only Post Riddles or answeres, all answeres must be in spoilers.
Try to include the answere for every riddle you write.

enough with the ping pong balls!!!

+ Show Spoiler +
answer is 2/3 btw.
CptZouglou
Profile Joined November 2011
France146 Posts
May 12 2012 00:50 GMT
#507
On May 12 2012 06:54 Slithe wrote:
Show nested quote +
On May 12 2012 03:11 Misder wrote:
On May 11 2012 07:14 CptZouglou wrote:
Enjoy this new (quite difficult) riddle:

You are a russian bomber, and you want to send a bomb on a nuclear submarine. The submarine is located on a line and has an integer position (can be negative). It moves at a constant integer speed (can be negative too) each second. The good part is that you have an unlimited amount of bombs, and you can send one each second at a any position. The problem is that you don't know where is the submarine at time 0, and what its speed is.

Is there a way to ensure that you can send hit the submarine in a finite amount of time ? If yes, what is your strategy ?

hint:
+ Show Spoiler +

Yes! Consider the problem as finding two parameters initial position (p) and speed (s). After t seconds, the submarine is at position p + t*s. Try and find a way to explore all possible initial positions and speeds !


I'm actually curious about the answer for this... Is there another hint?


It would be hard for him to give another hint without giving away the answer.

Anyway, the answer is like this
+ Show Spoiler +

[image loading]
x-axis is position, y-axis is speed.
You start in the middle of the spiral, and try bombing a location based on each combination of position and speed.

I actually already gave this problem a long time ago, so I'm just stealing my answer from before.
http://www.teamliquid.net/blogs/viewblog.php?id=65795
http://www.teamliquid.net/blogs/viewblog.php?id=65709


+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...
StoRm_res
Profile Joined March 2011
Switzerland891 Posts
Last Edited: 2012-05-12 18:23:45
May 12 2012 18:23 GMT
#508
Maybe I'm just blind but I don't think this famous riddle has been posted yet
Einstein's riddle
1. In a street there are five houses, painted five different colours.
2. In each house lives a person of different nationality
3. These five homeowners each drink a different kind of beverage, smoke different brand of cigar and keep a different pet.

Who owns the FISH?

HINTS

1. The Brit lives in a red house.
2. The Swede keeps dogs as pets.
3. The Dane drinks tea.
4. The Green house is next to, and on the left of the White house.
5. The owner of the Green house drinks coffee.
6. The person who smokes Pall Mall rears birds.
7. The owner of the Yellow house smokes Dunhill.
8. The man living in the centre house drinks milk.
9. The Norwegian lives in the first house.
10. The man who smokes Blends lives next to the one who keeps cats.
11. The man who keeps horses lives next to the man who smokes Dunhill.
12. The man who smokes Blue Master drinks beer.
13. The German smokes Prince.
14. The Norwegian lives next to the blue house.
15. The man who smokes Blends has a neighbour who drinks water.
TanGeng
Profile Blog Joined January 2009
Sanya12364 Posts
May 12 2012 21:13 GMT
#509
On May 13 2012 03:23 StoRm_res wrote:
Maybe I'm just blind but I don't think this famous riddle has been posted yet
Einstein's riddle
1. In a street there are five houses, painted five different colours.
2. In each house lives a person of different nationality
3. These five homeowners each drink a different kind of beverage, smoke different brand of cigar and keep a different pet.

Who owns the FISH?

HINTS

1. The Brit lives in a red house.
2. The Swede keeps dogs as pets.
3. The Dane drinks tea.
4. The Green house is next to, and on the left of the White house.
5. The owner of the Green house drinks coffee.
6. The person who smokes Pall Mall rears birds.
7. The owner of the Yellow house smokes Dunhill.
8. The man living in the centre house drinks milk.
9. The Norwegian lives in the first house.
10. The man who smokes Blends lives next to the one who keeps cats.
11. The man who keeps horses lives next to the man who smokes Dunhill.
12. The man who smokes Blue Master drinks beer.
13. The German smokes Prince.
14. The Norwegian lives next to the blue house.
15. The man who smokes Blends has a neighbour who drinks water.


+ Show Spoiler +
Ze Germans provided someone has to own the fish.
Moderator我们是个踏实的赞助商模式俱乐部
Soluhwin
Profile Joined October 2010
United States1287 Posts
May 13 2012 00:34 GMT
#510
I'm pretty sure the so-called "Einstein Riddle" has been posted.
I put the sexy in dyslexia.
LeapofFaith
Profile Joined November 2011
United States446 Posts
May 24 2012 01:44 GMT
#511
On May 11 2012 21:35 CyDe wrote:
I guess I'll just throw one of those lateral thinking problems into this mix of relatively intelligent arguing about probability and wording

A bridge has a weight limit of 10,000 KG. A truck weighing exactly 10,000 KG drives onto the bridge, and stops at the center, where a bird weighing 30g lands on it. Why doesn't the bridge collapse?

Hint:
+ Show Spoiler +
It has nothing to do with the manner that the bridge was constructed (support placements, etc).


Answer:
+ Show Spoiler +
The truck would have burned more than 30g of gasoline by the time it reached the center of the bridge.

Wow this is a really clever riddle, which unfortunately I had to look at the answer for
TanGeng
Profile Blog Joined January 2009
Sanya12364 Posts
May 24 2012 02:59 GMT
#512
Cowboy road into town on Friday. He stayed two nights and a day. Then he road out on Friday. What happened?
Moderator我们是个踏实的赞助商模式俱乐部
GoldenH
Profile Blog Joined March 2010
1115 Posts
Last Edited: 2012-05-24 04:49:48
May 24 2012 04:45 GMT
#513
On May 12 2012 09:50 CptZouglou wrote:

+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


Wait.. how does that work? + Show Spoiler +
If you let its initial position be arbitrarily large, and it's speed be arbitrarily large, then you're never going to find it by starting in the middle and moving out at a rate of 1/1, because the ship'll outrun the bombs forever. On the other hand, if the boat has a speed of 0, and you're skipping integers, you have a chance of never finding it ever. Even if bombs are persistent, you have to hope you manage to choose a integer arbitrarily large enough on your first couple guesses that it makes the position/speed of the sub look arbitrarily small. Which is impossible to guess, even if we start talking about grahm's numbers - tiny compared to infinity..
"(Dudes are) not going to say "Buy this game — I cried at the end". (...) I suppose the secret is to find a game that makes you shoot eight million fuckin' dudes and then cry about how awesome it is to shoot eight million fuckin' dudes." - Tim Rogers
GoldenH
Profile Blog Joined March 2010
1115 Posts
Last Edited: 2012-05-24 05:58:04
May 24 2012 05:15 GMT
#514
On May 07 2012 04:31 NTTemplar wrote:
Show nested quote +
On May 07 2012 01:22 amd098 wrote:
On May 07 2012 00:29 frogrubdown wrote:
On May 06 2012 23:53 NTTemplar wrote:
How about this:

What is the largest natural number you can create with only two 9's you are not allowed any more digits, but you can use any mathematical symbols.


No upper bound. You can just keep adding parentheses and factorials likes so: 9(9!), 9((9!)!), 9(((9!)!)!), ...


or repeat the factorials in (9!)^(9!)


+ Show Spoiler +
Pretty much it, wanna give the actual number though? ;P


+ Show Spoiler +
9! ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ 9!


edit: wait wait + Show Spoiler +
sum (n - > infinity) 9! ↑<sup>n</sup> 9!

edit: ok that was cheating + Show Spoiler +

f(a) = sum (n - > f(a-1)) f(a-1) ↑<sup>n</sup> f(a-1)
when a=9! and f(a-1) = 9!

totally cheating now woooooooooo

edit: this one should be legit

+ Show Spoiler +

a=9!
b= a ↑a a
sum (n->b) b ↑n b


Big.
"(Dudes are) not going to say "Buy this game — I cried at the end". (...) I suppose the secret is to find a game that makes you shoot eight million fuckin' dudes and then cry about how awesome it is to shoot eight million fuckin' dudes." - Tim Rogers
vega12
Profile Joined April 2010
Japan73 Posts
Last Edited: 2012-05-24 10:05:41
May 24 2012 10:02 GMT
#515
On May 24 2012 13:45 GoldenH wrote:
Show nested quote +
On May 12 2012 09:50 CptZouglou wrote:

+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


Wait.. how does that work? + Show Spoiler +
If you let its initial position be arbitrarily large, and it's speed be arbitrarily large, then you're never going to find it by starting in the middle and moving out at a rate of 1/1, because the ship'll outrun the bombs forever. On the other hand, if the boat has a speed of 0, and you're skipping integers, you have a chance of never finding it ever. Even if bombs are persistent, you have to hope you manage to choose a integer arbitrarily large enough on your first couple guesses that it makes the position/speed of the sub look arbitrarily small. Which is impossible to guess, even if we start talking about grahm's numbers - tiny compared to infinity..


+ Show Spoiler +
No matter how large its initial position and velocity are, they are still finite once decided, and constant for all time >= 0. So what you are essentially doing is not searching for the submarine, but searching for the submarine's initial condition in the x_0 v_0 phasespace, which will terminate in finite time. The solution is again NOT searching for the submarine, but searching for the submarines initial position and velocity. The N dimensional problem is the exact same, except you need to find an onto mapping from Z (the integers) to Z^(2N), which exists since they have the same cardinality. If you let the submarine change its speed or direction... that's obviously intractable for an infinite line.
Hydrogen is a light odorless gas, which, given enough time, turns into people.
GoldenH
Profile Blog Joined March 2010
1115 Posts
May 24 2012 14:55 GMT
#516
On May 24 2012 19:02 vega12 wrote:
Show nested quote +
On May 24 2012 13:45 GoldenH wrote:
On May 12 2012 09:50 CptZouglou wrote:

+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


Wait.. how does that work? + Show Spoiler +
If you let its initial position be arbitrarily large, and it's speed be arbitrarily large, then you're never going to find it by starting in the middle and moving out at a rate of 1/1, because the ship'll outrun the bombs forever. On the other hand, if the boat has a speed of 0, and you're skipping integers, you have a chance of never finding it ever. Even if bombs are persistent, you have to hope you manage to choose a integer arbitrarily large enough on your first couple guesses that it makes the position/speed of the sub look arbitrarily small. Which is impossible to guess, even if we start talking about grahm's numbers - tiny compared to infinity..


+ Show Spoiler +
No matter how large its initial position and velocity are, they are still finite once decided, and constant for all time >= 0. So what you are essentially doing is not searching for the submarine, but searching for the submarine's initial condition in the x_0 v_0 phasespace, which will terminate in finite time. The solution is again NOT searching for the submarine, but searching for the submarines initial position and velocity. The N dimensional problem is the exact same, except you need to find an onto mapping from Z (the integers) to Z^(2N), which exists since they have the same cardinality. If you let the submarine change its speed or direction... that's obviously intractable for an infinite line.


+ Show Spoiler +
How are you going to detect the initial position though? It's just empty space, and a bomb isn't some fancy 'ooh, a submarine was here an hour ago' detector. The submarine isn't everywhere on the line at once, just one point on the line. It seems like if you drew a graph of the rate of the submarine's possible movement vs the rate of testing every possible location, it would be at least equal for all non-zero values of the submarine's velocity. And that's even ignoring a negative value for movement, which means the submarine could at any time cross over into your already searched space. Yes, at infinity, they will converge, but not before then.
"(Dudes are) not going to say "Buy this game — I cried at the end". (...) I suppose the secret is to find a game that makes you shoot eight million fuckin' dudes and then cry about how awesome it is to shoot eight million fuckin' dudes." - Tim Rogers
pugowar
Profile Joined January 2010
United States142 Posts
Last Edited: 2012-05-24 15:11:12
May 24 2012 15:10 GMT
#517
On May 24 2012 19:02 vega12 wrote:
Show nested quote +
On May 24 2012 13:45 GoldenH wrote:
On May 12 2012 09:50 CptZouglou wrote:

+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


Wait.. how does that work? + Show Spoiler +
If you let its initial position be arbitrarily large, and it's speed be arbitrarily large, then you're never going to find it by starting in the middle and moving out at a rate of 1/1, because the ship'll outrun the bombs forever. On the other hand, if the boat has a speed of 0, and you're skipping integers, you have a chance of never finding it ever. Even if bombs are persistent, you have to hope you manage to choose a integer arbitrarily large enough on your first couple guesses that it makes the position/speed of the sub look arbitrarily small. Which is impossible to guess, even if we start talking about grahm's numbers - tiny compared to infinity..



+ Show Spoiler +
No matter how large its initial position and velocity are, they are still finite once decided, and constant for all time >= 0. So what you are essentially doing is not searching for the submarine, but searching for the submarine's initial condition in the x_0 v_0 phasespace, which will terminate in finite time. The solution is again NOT searching for the submarine, but searching for the submarines initial position and velocity. The N dimensional problem is the exact same, except you need to find an onto mapping from Z (the integers) to Z^(2N), which exists since they have the same cardinality. If you let the submarine change its speed or direction... that's obviously intractable for an infinite line.


About the submarine...
+ Show Spoiler +

That isnt what the problem said at all. The way the problem is written is impossible...plus how would you use the bombs to find out the speed of the submarine?
Gooooooooooo Sparkyz!
Heh_
Profile Blog Joined April 2012
Singapore2712 Posts
May 24 2012 15:22 GMT
#518
On May 24 2012 10:44 LeapofFaith wrote:
Show nested quote +
On May 11 2012 21:35 CyDe wrote:
I guess I'll just throw one of those lateral thinking problems into this mix of relatively intelligent arguing about probability and wording

A bridge has a weight limit of 10,000 KG. A truck weighing exactly 10,000 KG drives onto the bridge, and stops at the center, where a bird weighing 30g lands on it. Why doesn't the bridge collapse?

Hint:
+ Show Spoiler +
It has nothing to do with the manner that the bridge was constructed (support placements, etc).


Answer:
+ Show Spoiler +
The truck would have burned more than 30g of gasoline by the time it reached the center of the bridge.

Wow this is a really clever riddle, which unfortunately I had to look at the answer for

There's another civil engineering way of thinking about this: weight limits aren't the actual load that the bridge can bear. It's actually higher but not shown in case of poor construction/idiots who try to cross the line. The actual load that the bridge can bear is about 2-3x higher. So a flock of birds can land on the truck no problem.
=Þ
vega12
Profile Joined April 2010
Japan73 Posts
May 24 2012 15:57 GMT
#519
On May 25 2012 00:10 pugowar wrote:
Show nested quote +
On May 24 2012 19:02 vega12 wrote:
On May 24 2012 13:45 GoldenH wrote:
On May 12 2012 09:50 CptZouglou wrote:

+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


Wait.. how does that work? + Show Spoiler +
If you let its initial position be arbitrarily large, and it's speed be arbitrarily large, then you're never going to find it by starting in the middle and moving out at a rate of 1/1, because the ship'll outrun the bombs forever. On the other hand, if the boat has a speed of 0, and you're skipping integers, you have a chance of never finding it ever. Even if bombs are persistent, you have to hope you manage to choose a integer arbitrarily large enough on your first couple guesses that it makes the position/speed of the sub look arbitrarily small. Which is impossible to guess, even if we start talking about grahm's numbers - tiny compared to infinity..



+ Show Spoiler +
No matter how large its initial position and velocity are, they are still finite once decided, and constant for all time >= 0. So what you are essentially doing is not searching for the submarine, but searching for the submarine's initial condition in the x_0 v_0 phasespace, which will terminate in finite time. The solution is again NOT searching for the submarine, but searching for the submarines initial position and velocity. The N dimensional problem is the exact same, except you need to find an onto mapping from Z (the integers) to Z^(2N), which exists since they have the same cardinality. If you let the submarine change its speed or direction... that's obviously intractable for an infinite line.


About the submarine...
+ Show Spoiler +

That isnt what the problem said at all. The way the problem is written is impossible...plus how would you use the bombs to find out the speed of the submarine?


+ Show Spoiler +
It's not impossible. If the submarine has, say, initial position 3 and constant speed 2, it will be at point 3, then 5, then 7, and so on for time 0, 1, 2. So once you have a function from n=1...inf to the plane of points (the initial conditions phasespace), call it x(n) and v(n) if you want, then all you need to do is chose the functions so that you cover every possible position in the Z^2 plane. If you have say x(10) = 3 and v(10) = 2, corresponding to the correct initial conditions, then you will send your bomb to 3 + 10*2 = 23, which is exactly where the submarine will be at time 10 for starting location 3 and velocity 2. Doing it this way you try every possible set of initial conditions. This is guaranteed to terminate in a finite way. If the initial submarine position was 8276 with speed -99810, you will still eventually get to that set of points on the phasespace in a finite time.
Hydrogen is a light odorless gas, which, given enough time, turns into people.
hypercube
Profile Joined April 2010
Hungary2735 Posts
May 24 2012 16:21 GMT
#520
On May 12 2012 09:50 CptZouglou wrote:
Show nested quote +
On May 12 2012 06:54 Slithe wrote:
On May 12 2012 03:11 Misder wrote:
On May 11 2012 07:14 CptZouglou wrote:
Enjoy this new (quite difficult) riddle:

You are a russian bomber, and you want to send a bomb on a nuclear submarine. The submarine is located on a line and has an integer position (can be negative). It moves at a constant integer speed (can be negative too) each second. The good part is that you have an unlimited amount of bombs, and you can send one each second at a any position. The problem is that you don't know where is the submarine at time 0, and what its speed is.

Is there a way to ensure that you can send hit the submarine in a finite amount of time ? If yes, what is your strategy ?

hint:
+ Show Spoiler +

Yes! Consider the problem as finding two parameters initial position (p) and speed (s). After t seconds, the submarine is at position p + t*s. Try and find a way to explore all possible initial positions and speeds !


I'm actually curious about the answer for this... Is there another hint?


It would be hard for him to give another hint without giving away the answer.

Anyway, the answer is like this
+ Show Spoiler +

[image loading]
x-axis is position, y-axis is speed.
You start in the middle of the spiral, and try bombing a location based on each combination of position and speed.

I actually already gave this problem a long time ago, so I'm just stealing my answer from before.
http://www.teamliquid.net/blogs/viewblog.php?id=65795
http://www.teamliquid.net/blogs/viewblog.php?id=65709


+ Show Spoiler +

Very nice! Good job! You described one of the solutions. Would you also solve it if the the submarine was on a N-dimensional plane with a N-dimensional speed?

If you find it, I have another generalized riddle ready for you...


+ Show Spoiler +
Here's a solution to the original problem that suggests the generalization.
Let f(n) = pn + r be the position of the submarine at time n. Let g(n) be the bombed position at time n. The problem is to find a function g(n) that for any integers p, r there exists an integer N>0, such that f(N)=g(N).

First let's map any pair (p,r) from Z^2 to an integer N>0 bijectively*. Now let g(N) = pN+r. So for any pair p,r there exists a number N such that f(N)=g(N).

I didn't prove that such a bijection exists. I'll refer to the theorem that the Cartesian product of finitely many countable sets is countable. As long as the position of the submarine can be described with a function of a finite number of parameters taken from countable sets we can hit the submarine. Just map every possible function to a certain time N where the bomb will hit at exactly at the position that the function takes.

In the extreme case we can assure a hit even if the submarine has arbitrary rational speed and starting position in N dimensions.
"Sending people in rockets to other planets is a waste of money better spent on sending rockets into people on this planet."
Prev 1 24 25 26 27 28 38 Next All
Please log in or register to reply.
Live Events Refresh
OSC
00:00
2025 Mid Season Playoffs #1
CranKy Ducklings71
Liquipedia
The PiG Daily
23:15
GSL Finals Replay Cast
herO vs GuMiho
Classic vs Cure
PiGStarcraft509
LiquipediaDiscussion
PSISTORM Gaming Misc
23:00
FSL s9 plan and showmatches
Freeedom9
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft509
RuFF_SC2 175
StarCraft: Brood War
Sexy 22
Icarus 6
Dota 2
NeuroSwarm116
LuMiX1
Counter-Strike
Stewie2K1001
Foxcn474
flusha335
Super Smash Bros
C9.Mang01081
Mew2King197
Heroes of the Storm
Khaldor182
Other Games
summit1g9417
shahzam1257
WinterStarcraft275
Trikslyr37
ViBE30
PPMD29
Organizations
Other Games
gamesdonequick1002
StarCraft 2
ESL.tv127
Other Games
BasetradeTV91
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 71
• musti20045 31
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki69
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler94
Upcoming Events
Korean StarCraft League
2h 27m
RSL Revival
9h 27m
SOOP Global
14h 27m
Spirit vs SKillous
YoungYakov vs ShowTime
SOOP
16h 57m
HeRoMaRinE vs Astrea
BSL Season 20
17h 27m
UltrA vs Radley
spx vs RaNgeD
Online Event
1d 3h
Clem vs ShoWTimE
herO vs MaxPax
Sparkling Tuna Cup
1d 9h
WardiTV Invitational
1d 10h
Percival vs TriGGeR
ByuN vs Solar
Clem vs Spirit
MaxPax vs Jumy
BSL Season 20
1d 14h
TerrOr vs HBO
Tarson vs Spine
RSL Revival
1d 16h
[ Show More ]
BSL Season 20
1d 17h
MadiNho vs dxtr13
Gypsy vs Dark
Wardi Open
2 days
Monday Night Weeklies
2 days
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
Replay Cast
5 days
Road to EWC
6 days
Liquipedia Results

Completed

Proleague 2025-05-14
2025 GSL S1
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
NPSL S3
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

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.