A hostile artificial intelligence called NIM has taken over the world’s computers. You’re the only person skilled enough to shut it down, and you’ll only have one chance.
НИМ, враждебный искусственный интеллект, захватил все компьютеры в мире. Только у вас есть достаточно опыта, чтобы отключить его, и у вас только один шанс.
You’ve broken into NIM’s secret lab, and now you’re floating in a raft on top of 25 stories of electrified water. You’ve rigged up a remote that can lower the water level by ejecting it from grates in the sides of the room. If you can lower the water level to 0, you can hit the manual override, shut NIM off, and save the day. However, the AI knows that you’re here, and it can lower the water level, too, by sucking it through a trapdoor at the bottom of the lab. If NIM is the one to lower the water level to 0, you’ll be sucked out of the lab, resulting in a failed mission.
Вы забрались в секретную лабораторию НИМ и находитесь на надувном плоту на высоте 25 этажей воды под напряжением. Вы соорудили пульт, который может снижать уровень воды, открывая шлюзы по углам этажа. Добравшись до нулевого этажа, вы сможете запустить ручное управление, отключить НИМ и всех спасти. Однако ИИ уже знает, что вы здесь, и он тоже может понижать уровень воды, засасывая её в большие ловушки на дне лаборатории. Если НИМ опустошит последний уровень, он вышвырнет вас из лаборатории, и миссия будет провалена.
Control over water drainage alternates between you and NIM, and neither can skip a turn. Each of you can lower the water level by exactly 1, 3, or 4 stories at a time. Whoever gets the level exactly to 0 on their turn will win this deadly duel. Note that neither of you can lower the water below 0; if the water level is at 2, then the only move is to lower the water level 1 story.
Вы и НИМ по очереди контролируете шлюзы, и никто не имеет права пропустить ход. Каждый может понижать воду только на один, три или четыре уровня за ход. Тот, кто достигнет нулевого этажа в свой ход, победит в смертельной дуэли. Заметьте, что нельзя понижать уровни ниже нуля: если уровень воды — два, единственный возможный ход — снизить её на один уровень.
You know that NIM has already computed all possible outcomes of the contest, and will play in a way that maximizes its chance of success.
Вам известно, что НИМ уже продумал все возможные исходы поединка и будет действовать максимально выигрышным для себя способом.
You go first. How can you survive and shut off the artificial intelligence? Pause here if you want to figure it out for yourself. Answer in: 3 Answer in: 2 Answer in: 1
Первый ход — ваш. Как вы сумеете выжить и отключить искусственный интеллект? [Нажмите на паузу, чтобы решить эту задачу самостоятельно.] [Ответ через: 3] [Ответ через: 2] [Ответ через: 1]
You can’t leave anything up to chance - NIM will take any advantage it can get. And you’ll need to have a response to any possible move it makes.
Вам нельзя положиться на удачу, ведь НИМ воспользуется этим. К тому же вы должны отвечать на любые его действия.
The trick here is to start from where you want to end and work backwards. You want to be the one to lower the water level to 0, which means you need the water level to be at 1, 3, or 4 when control switches to you. If the water level were at 2, your only option would be to lower it 1 story, which would lead to NIM making the winning move. If we color code the water levels, we can see a simple principle at play: there are “losing” levels like 2, where no matter what whoever starts their turn there does, they’ll lose. And there are winning levels, where whoever starts their turn there can either win or leave their opponent with a losing level. So not only are 1, 3, and 4 winning levels, but so are 5 and 6, since you can send your opponent to 2 from there.
Секрет в том, чтобы начать с конца и двигаться в обратном направлении. Вы хотите быть тем, кто снизит уровень воды до нуля, значит вам нужно, чтобы вода была на уровне один, три или четыре, к моменту, когда ход будет вашим. Если вода будет на уровне два, ваш единственный ход — это снизить её на один уровень, что позволит НИМ сделать победный ход. Если мы отметим цветами все уровни, то увидим простой принцип: есть «проигрышные» уровни, такие как второй. Любой, кто начнёт свой ход с этого уровня, проиграет. И есть «выигрышные» уровни. Кто бы ни оказался там в начале хода, либо выиграет, либо заставит соперника начинать с проигрышного уровня. Выигрышные уровни не только один, три и четыре, а также пять и шесть,
What about 7? From 7, all possible moves would send your opponent to a winning level, making this another losing level. And we can continue up the lab in this way. If you start your turn 1, 3, or 4 levels above a losing level, then you’re at a winning level. Otherwise, you’re destined to lose.
поскольку оттуда можно отправить противника на второй уровень. Что насчёт седьмого? С этого уровня все возможные ходы отправят оппонента на выигрышный этаж, а значит это тоже проигрышный уровень. Мы можем просчитать все уровни лаборатории таким же способом. Если вы начнёте ход на один, три или четыре уровня выше проигрышных, то попадёте на выигрышный уровень.
You could continue like this all the way to level 25. But as a shortcut, you might notice that levels 8 through 11 are colored identically to 1 through 4. Since a level’s color is determined by the levels 1, 3, and 4 stories below it, this means that level 12 will be the same color as level 5, 13 will match 6, 14 will match 7, and so on,
Иначе ваш проигрыш гарантирован. Вы можете продолжить так до уровня 25, но есть и короткий путь. Все уровни с 8 по 11 такого же цвета, что и с первого по четвёртый. Поскольку цвет определяется по цвету одного, трёх или четырёх этажей ниже, уровень 12 будет соответствовать по цвету пятому уровню, уровень 13 — шестому,
In particular, the losing levels will always be multiple of 7, and two greater than multiples of 7. Now, from your original starting level of 25, you have to make sure your opponent starts on a losing level every single turn— if NIM starts on a winning level even once, it’s game over for you. So your only choice on turn 1 is to lower the water level by 4 stories. No matter what the AI does, you can continue giving it losing levels until you reach 0 and trigger the manual override.
уровень 14 — седьмому, и так далее. Мы заметим, что проигрышные уровни будут кратны семёрке, или кратны семёрке плюс два. Со своей начальной позиции на 25-м этаже вы должны сделать так, что оппонент всегда будет оказываться на проигрышном уровне. Если НИМ хоть раз начнёт с выигрышного уровня, ваша игра окончена. Ваш единственный выбор на первом ходу это спустить воду на четыре этажа. Неважно, что будет делать ИИ, если вы будете держать его на проигрышных уровнях,
And with that, the crisis is averted. Now, back to a less stressful kind of surfing.
пока не доберётесь до нулевого и запустите ручное оправление. Тем самым мир будет спасён,