【TED ED 中英雙語(yǔ)】 P78
Can you solve the passcode riddle
你能解決密碼之謎嗎

In this dystopian world, your resistance group is humanity's last hope.
Unfortunately, you've all been captured by the tyrannical rulers
and brought to the ancient colosseum for their deadly entertainment.
Before you're thrown into the dungeon,
you see many numbered hallways leading outside.
But each exit is blocked by ?an electric barrier
with a combination keypad.

在這個(gè)反烏托邦世界中,你們的反抗組織是人類的最后希望
不幸的是,你們被暴虐的統(tǒng)治者抓到
并被帶到古時(shí)候的斗獸場(chǎng),將以死亡取悅他們
在你們被扔進(jìn)地牢前
你看見了很多條通往外界的走廊
但每一個(gè)出口都有
配有按鍵組合的電子欄桿

You learn that one of you will be allowed to try to escape by passing a challenge
while everyone else will be fed to the mutant salamanders the next morning.
With her perfect logical reasoning, Zara is the obvious choice.
You hand her a concealed audio transmitter so that the rest of you can listen along.
As Zara is led away,
you hear her footsteps echo ?through one of the hallways,
then stop.

你知道你們中的一人將被允許嘗試通過(guò)挑戰(zhàn)逃離
但剩下的人將會(huì)在第二天成為異形蜥蜴的早餐
因?yàn)橛兄昝赖倪壿嬐评砟芰?,Zara成了理所當(dāng)然的選擇
你交給她一個(gè)隱藏的聲音發(fā)射器,
這樣剩下的人可以聽到她的動(dòng)態(tài)
Zara先走了出去,
你聽到她的腳步的回聲從其中的一條走廊上傳來(lái)
然后停下了。

A voice announces ?that she must enter a code
consisting of three positive whole numbers in ascending order,
so the second number is greater than or equal to the first,
and the third is greater than or equal to the second.
She may ask for up to three clues,
but if she makes a wrong guess,
or says anything else,
she'll be thrown back into the dungeon.

一個(gè)聲音宣稱,她必須輸入一個(gè)代碼
代碼由三個(gè)正整數(shù)構(gòu)成, 并由升序排列,
所以第二個(gè)數(shù)字必須大于等于第一個(gè),
且第三個(gè)數(shù)字大于等于第二個(gè)。
她可以要求提供三條線索,
但是她如果做出了錯(cuò)誤的猜測(cè),
或者說(shuō)了其它內(nèi)容,
她將會(huì)被重新扔回地牢。

For the first clue, the voice says the product of the three numbers is 36.
When Zara asks for the second clue,
it tells her the sum of the numbers
is the same as the number ?of the hallway she entered.
There's a long silence.
You're sure Zara remembers ?the hallway number,
but there's no way for you to know it,
and she can't say it outloud.
If Zara could enter the passcode ?at this point, she would,
but instead, she asks for the third clue,
and the voice announces that the largest number appears only once
in the combination.

第一條線索,這個(gè)聲音說(shuō),這三個(gè)數(shù)字相乘的結(jié)果是36.
當(dāng)Zara詢問第二條線索,
聲音告訴她這些數(shù)字的總和
同她進(jìn)入的走廊的數(shù)字一樣。
長(zhǎng)久的靜默。
你確定Zara記起了走廊的數(shù)字,
但你卻沒辦法知道數(shù)字是什么,
并且Zara不能大聲地說(shuō)出來(lái)。
如果這時(shí)Zara可以輸入代碼,她會(huì)輸入的
但并沒有,她要求了第三條線索
這個(gè)聲音宣稱,最大的數(shù)字只出現(xiàn)了一次
在這個(gè)組合中。

Moments later, the buzz of the electric barrier stops for a few seconds,
and you realize that Zara has escaped.
Unfortunately, her transmitter ?is no longer in range,
so that's all the information you get.
Can you find the solution?
Pause on the next screen to work out the solution.

片刻后,電子衛(wèi)士的鳴聲停止了一會(huì)兒,
你意識(shí)到Zara已經(jīng)逃出了。
不幸的是,她的聲音發(fā)射器已不在適用范圍內(nèi)
所以這是你所能知道的所有信息。
你能找到解決辦法嗎?
暫停下一屏幕,來(lái)找到解決方案


找到按升序排列的三個(gè)數(shù)字!
1. 三數(shù)相乘得36.
2.三數(shù)之和代表了第幾條走廊,但你不知道是幾
3.最大的數(shù)字只出現(xiàn)了一次
4.需要3條線索

You're worried about the fact that you don't know Zara's hallway number,
but you decide to start ?from the beginning anyways.
From the first clue, you work out all of the eight possible combinations
that come out to a product of 36.
One of these must be right, but which one?
Now comes the hard part.
Even though you don't know which number you're looking for,
you decide to work out the sum of each combination's three numbers.
That's when it hits you.

你在擔(dān)心你并不知道Zara在走廊上的數(shù)字
但你決定無(wú)論如何也得從頭開始。
從第一條線索,你列出了所有得出相乘結(jié)果是36 的
8種可能組合。
它們中的一個(gè)肯定是正確的,但是哪一個(gè)呢?
現(xiàn)在這是最難的部分。
盡管你不知道你在尋找哪個(gè)數(shù)字
你決定算把每個(gè)組合的3個(gè)數(shù)字的總和都算出來(lái)。
這是你獲得靈感的瞬間。

All but two of the sums are unique,
and if the hallway number had matched any of these,
Zara would have known the correct combination right then and there
without asking for the third clue.
Since she did ask for the clue,
the hallway number must have ?matched the only sum
that appears more than once in the list:
thirteen.
But which of the two combinations that add up to thirteen is correct:
1,6,6,
or 2,2,9?

除了其中的兩個(gè)結(jié)果,其他的求和結(jié)果都是獨(dú)特的,
并且如果走廊數(shù)字與其中任何一個(gè)匹配,
Zara都本該在那時(shí)就知道正確的組合
而不需要要求第3條線索。
因?yàn)樗_實(shí)問了線索,
走廊數(shù)字就一定是與在求和列表中出現(xiàn)不止1次的
數(shù)字相匹配:
13。
但這兩組求和結(jié)果為13的數(shù)字,哪一組是正確的呢:
1,6,6.
還是2,2,9?

That's where the third clue comes in.
Since it tells us that the largest number must be unique,
2,2,9 must be the code.
When night falls, you and the others escape through hallway thirteen
and rejoin Zara outside.
You've freed yourselves through ?math and logic.
Now it's time to free ?the rest of the world.

這時(shí)就要用到第3條線索。
因?yàn)樗嬖V我們最大的數(shù)字是第一無(wú)二的,
2,2,9一定是這個(gè)代碼。
當(dāng)夜幕降臨,你和其他人逃離了13走廊,
并且與Zara再外面匯合。
你們解救了自己,通過(guò)數(shù)字和邏輯。
現(xiàn)在是解救這個(gè)世界的時(shí)候了。? ??