英语题目求翻译I just bought Leonardo's secret notebook! Rare object collector Stan Ucker was really agitated but his friend, special investigator Sarah Kepticwas unimpressed. — How do you know it is genuine? — Oh, it must be, at that price
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/30 08:59:03
英语题目求翻译I just bought Leonardo's secret notebook! Rare object collector Stan Ucker was really agitated but his friend, special investigator Sarah Kepticwas unimpressed. — How do you know it is genuine? — Oh, it must be, at that price
英语题目求翻译
I just bought Leonardo's secret notebook! Rare object collector Stan Ucker was
really agitated but his friend, special investigator Sarah Kepticwas
unimpressed. — How do you know it is genuine? — Oh, it must be, at that price.
And it is written in the da Vinci code. Sarah browsed a few of the pages. It was
obvious to her that the code was a substitution cipher, where each letter of the
alphabet had been substituted by another letter. — Leonardo would have written
the plain-text and left it to his assistant to encrypt, she said. And he must
have supplied the substitution alphabet to be used. If we are lucky, we can find
it on the back cover! She turned up the last page and, lo and behold, there was
a single line of all 26 letters of the alphabet: QWERTYUIOPASDFGHJKLZXCVBNM —
This may be Leonardo's instructions meaning that each A in the plain-text was to
be replaced by Q, each B withW, etcetera. Let us see... To their disappointment,
they soon saw that this could not be the substitution that was used in the book.
Suddenly, Stan brightened. — Maybe Leonardo really wrote the substitution
alphabet on the last page, and by mistake his assistant coded that line as he
had coded the rest of the book. So the line we have here is the result of
applying some permutation TWICE to the ordinary alphabet!
Sarah took out her
laptop computer and coded fiercely for a few minutes. Then she turned to Stan
with a sympathetic expression. — No, that couldn't be it. I am afraid that you
have been duped again, my friend. In all probability, the book is a fake. Write
a program that takes a permutation of the English alphabet as input and decides
if it may be the result of performing some permutation twice.
英语题目求翻译I just bought Leonardo's secret notebook! Rare object collector Stan Ucker was really agitated but his friend, special investigator Sarah Kepticwas unimpressed. — How do you know it is genuine? — Oh, it must be, at that price
我刚买了列奥纳多的秘密笔记!对象收集器斯坦ucker是罕见的
真激动,但是他的朋友,特别调查员莎拉kepticwas
不为所动.你怎么知道这是真的吗?哦,这是必须的,以这样的价格.
这是写的达文西密码.莎拉浏览了几页.这是
很明显她代码替换加密,其中每个字母的
字母被另一字母取代.列奥纳多也会写
纯文本和留给他的助手来加密,她说.他必须
提供了用于替代字母.如果我们幸运的话,我们可以找到
它的背面!她把最后一页,你瞧,有
一个单一的所有26个字母:qwertyuiopasdfghjklzxcvbnm—
这可能是列奥纳多的指示意义,每一个在纯文本是
取而代之的是问,每个B它,等等.让我们看看…他们的失望,
他们很快就发现这是不可能的替代,用于书.
突然,斯坦了.也许列奥纳多真的写的替代
在最后一页的字母,错误编码,他的助手为他
已编码的其余的书.因此,我们这里是结果
运用一些普通的字母排列两次!
莎拉拿出了她
几分钟的笔记本电脑和编码的激烈.然后她转向斯坦
以同情的表达.不,不能这样.我担心你
被骗了,我的朋友.在所有的可能性中,这本书是假的.写
一个程序,以一个置换的英文字母作为输入并决定
如果它可以执行一些置换两次结果.
达芬奇密码