Project Euler Problem 59

Source: Internet
Author: User

The question test instructions is:

Encrypt an article with a three-lowercase key.

Because the key is relatively short, so the loop comes.

The encryption method is to use ASCII code to vary or


And then the question.

I would say I was 26*26*26 and then put all possible enumerations again. Decrypt the first 20 letters of each key.

Output to a txt there are more than 10,000 records, one by one to see. Look what it looks like.


Finally found the key is God

And then this article is in the Bible.


To kneel.


In fact, I have other ideas.

But a lot of vocabulary support is needed.

The article is made up of a large number of English letters.

We can use the key to try to decrypt the article.

The decrypted article split into a single word.

Then there is a dictionary that saves some common vocabulary.

So we see whether this article can often appear some of these common words on the line.

It should not be difficult to put.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.