Can you solve the killer roboants riddle Dan Finkel

The good news is that your experimental robo-ants

are a success!

The bad news is that you accidentally

just gave them the ability to shoot deadly lasers

…and you can’t turn it off.

You have five minutes to stop them

before the lasers go online.

Until then,

all of your robo-ants will walk

inside their habitat at a speed of

exactly 1 meter per minute.

If they bump into each other or hit a dead end,

they’ll instantly turn around

and walk back the way they came.

When five minutes are up,

they’ll turn on their lasers,

break free,

and stream out into the world,

carving a path of destruction as they go.

Your one chance to stop them is to insert

the two emergency vacuum nozzles into the habitat

and suck the ants up before they break free.

The nozzles can press into any one location

in the habitat through a membrane covering

its front side, and any ants that walk past

will be sucked up and deactivated.

You can’t move the nozzles once they’re placed

without leaving a hole that the robo-ants

would pour out of, so choosing the

right spots will be key.

The habitat is made out of meter-long tubes.

When the robots reach an intersection,

they will pick randomly whether to go

left, right, or forward.

They only go backward if they hit

hit another robo-ant or a dead end.

Unfortunately, there are hundreds of them

inside the habitat, and if even one escapes,

it’ll do a lot of damage.

With just less than five minutes remaining,

where should you place the 2 vacuum nozzles

to suck up all the robo-ants?

Pause the video now if
you want to figure it out for yourself.

Answer in: 3

Answer in: 2

Answer in: 1

With robo-ants ricocheting all over the habitat,

it might seem impossible to stop them

before they break free.

But this situation is simpler than it seems.

Here’s why.

Imagine just two robo-ants crawling

toward each other.

When they collide, they immediately

reverse directions.

And what would that sequence of events look

like if they crawled past each other instead?

It would look exactly the same before

and after their collision, but with

their positions swapped.

This is true every time a pair of robo-ants meet.

Because the identities of individual ants

don’t matter, you just need to figure out where

you should put the nozzles to capture

any single ant walking without interruption

for less than 5 minutes, starting from

any point in the habitat.

That’s much easier to conceptualize and solve.

Placing the nozzles at intersections where

three or four tubes meet seems like your best bet

since that’s where the robo-ants might otherwise

change directions and miss your nozzles.

There are only four intersections…

which two should you pick?

The top right intersection has to be one of them.

If it isn’t, an ant crawling down from

this intersection toward the dead end would

crawl for four minutes to get back to the

intersection, and then go in any of three

directions, walking for at least another minute.

Once you’ve placed a nozzle in the top right,

the only other choice that has a chance

to work is the bottom left.

To see that this works, imagine an ant

anywhere else in the habitat.

Worst case scenario, the ant would start

right next to the vacuum nozzle, marching away from it.

But in all those worst cases, the ant would march

for at most 4 meters before being sucked

up into the vacuum.

No other choice of two intersection points

is guaranteed to get all the robo-ants

within five minutes.

Having vacuumed them all up, you’ve

averted a major crisis.

Before you mess with robo-ants again,

you’ll want to have a robo-anteater ready.

And wouldn’t it be cool if it could

fly and breathe fire?

There’s no way that could go wrong!

好消息是你的实验机器

蚂蚁成功了!

坏消息是你不

小心给了他们发射致命激光的能力

……你不能把它关掉。 在激光上线之前,

您有五分钟的时间阻止它们

在那之前,

你所有的机器蚂蚁将以每分钟 1 米

的速度在它们的栖息地内行走

如果他们撞到对方或走到了死胡同,

他们会立即

掉头走回原来的路。

五分钟后,

他们将打开激光,

挣脱束缚

,流向世界,

在他们前进的过程中开辟出一条毁灭之路。

阻止它们的唯一机会是

将两个紧急真空喷嘴插入栖息地,

并在蚂蚁挣脱之前将它们吸起来。

喷嘴可以

通过覆盖其正面的薄膜压入栖息地的任何一个位置

,任何经过的蚂蚁

都会被吸走并灭活。

一旦放置喷嘴,您就无法移动喷嘴

而不留下机器人蚂蚁

会倒出的孔,因此选择

正确的位置将是关键。

栖息地由一米长的管子制成。

当机器人到达十字路口时,

它们会随机选择是

向左、向右还是向前。

他们只有在撞到另一只机器

蚂蚁或死胡同时才会后退。

不幸的是,栖息地内有数百只

,即使有一个逃脱

,也会造成很大的破坏。

只剩下不到五分钟的时间,

你应该把 2 个真空吸嘴放在哪里

来吸走所有的机器蚂蚁?

如果
您想自己弄清楚,请立即暂停视频。

答案:3

答案:2

答案:

1 机器人蚂蚁在整个栖息地中弹跳,

似乎不可能

在它们挣脱之前阻止它们。

但这种情况比看起来要简单。

这就是为什么。

想象一下,只有两只机器蚂蚁

爬向对方。

当它们碰撞时,它们会立即

反转方向。

如果他们互相爬过,那一系列事件

会是什么样子?

在他们碰撞之前和之后看起来完全一样

,但

他们的位置交换了。

每次一对机器蚂蚁相遇时都是如此。

因为个体蚂蚁的身份

并不重要,你只需要弄清楚

你应该把喷嘴放在哪里,以捕捉

任何一只蚂蚁

在不到 5 分钟的时间内不间断地行走,从

栖息地的任何一点开始。

这更容易概念化和解决。

将喷嘴放置在

三个或四个管子相遇的交叉点似乎是你最好的选择,

因为那是机器人蚂蚁可能会

改变方向并错过你的喷嘴的地方。

只有四个十字路口……

你应该选择哪两个?

右上角的交叉点必须是其中之一。

如果不是,从

这个路口向死胡同爬下来的蚂蚁会

爬四分钟回到

路口,然后从三个方向中的任何一个

方向走,至少再走一分钟。

一旦你在右上角放置了一个喷嘴

,唯一有

机会工作的选择就是左下角。

要看到这行得通,请想象

栖息地中其他任何地方的蚂蚁。

最坏的情况是,蚂蚁会从

真空吸嘴旁边开始,远离它。

但在所有这些最坏的情况下,蚂蚁

在被吸进真空之前最多行进 4 米

没有其他选择的两个交叉点

可以保证在五分钟内得到所有的机器蚂蚁

将它们全部清理干净后,您就

避免了一场重大危机。

在你再次与机器蚂蚁打交道之前,

你需要准备好一只机器食蚁兽。

如果它可以

飞行和喷火,那不是很酷吗?

没有办法出错!