An ancient programming game: Python Challenge All-in-one guide (GO)

Source: Internet
Author: User

Python Challenge is a web-level game that uses hints to find the next level of Web address. The difference is that it is designed for programmers, because most levels are programmed to calculate Oh!!

Last year and classmates play together, he did half, I did half, cheat some, 33 off all pass, today stroll hard drive found this information, take out to shake.

Very very very very fun, highly recommended programming friends are playing, not necessarily will python, I and my classmates will not, but we use C # as can get out, no obstacles.

0

Http://www.pythonchallenge.com/pc/def/0.html

Guess 238, say 38 on 2 a little bit, guess 238 = 274877906944, go to the next level

1

Http://www.pythonchallenge.com/pc/def/274877906944.html

Http://www.pythonchallenge.com/pc/def/map.html

According to the hint on the figure, is the displacement encryption, each character displacement two times, the following those tips with this method of processing, tell me to use the same method to process the URL, get OCR

2

Http://www.pythonchallenge.com/pc/def/ocr.html

Tip Look at the source file, a lot of characters, said to find the fewest occurrences of the characters, found to be equality

3

Http://www.pythonchallenge.com/pc/def/equality.html

A lowercase letter with just three uppercase letters on each side as bodyguards.

Xxx

Xxx

Xxx

X

X

XXXxXXX

X

X

Xxxxxxxxx This is right ...

Find the answer is LinkedList

4

Http://www.pythonchallenge.com/pc/def/linkedlist.html

http://www.pythonchallenge.com/pc/def/linkedlist.php

After clicking on the picture on the page, enter the connection

http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345

Hint and the next nothing is 92512

Then you change 12345 to 92512, and he hints and the next nothing is 64505 ...

So all the way down, according to the hint, hundreds of times after the line ...

5

Http://www.pythonchallenge.com/pc/def/peak.html

Peak Hell said to read it out, pickle

Download BANNER.P

And then it won't be ...

6

Http://www.pythonchallenge.com/pc/def/channel.html

As seen from the picture, the zipper (Zip) is the protagonist ...

Download Channel.zip

And then the 4th close, make a program all the way down.

And then it was said to be annotated, but I couldn't find ...

7

Http://www.pythonchallenge.com/pc/def/oxygen.html

The grayscale in the picture is integrity after decoding it in ASCII.

8

Http://www.pythonchallenge.com/pc/def/integrity.html

Title: Working hard?

Picture: a Bee

Bee? Busy. Busy? Busy too? Bz2?

The following user name and password are encrypted with bz2, decrypt the image after the link, and then go to the next level, enter the user name password.

User name password after several close

Huge

File

9

Http://www.pythonchallenge.com/pc/return/good.html

Tip: Connect the dots

The First,second in the code below are the coordinates of the two x and Y, and then the first like a cow, second like a cross, is it a cross-over X, called the Ox x ... Tried the next cow, suggesting that the public, bull. From this picture to see, found that second originally only a stroke of the head of the cow ...

10

Http://www.pythonchallenge.com/pc/return/sequence.txt

A = [1, 11, 21, 1211, 111221,

Len (a[30]) =?

In fact, I found a very strange law, but not the same as the official. The official rule is this:

1

A 1, writing 11

2 of 1, writing 21

A 2, a 1, a writing 1211.

......

I'll figure it out in a minute. 5808

11

Http://www.pythonchallenge.com/pc/return/5808.html

A picture can be seen using the IE browser to select the effect of the picture, plus odd even hint, more convinced that this is the. A picture of nothing, another picture of a look at the thought of nothing, the result is actually a display problem ... Another shows that the gas can clearly see a blood-red horror of the pattern, on the right is written evil words.

12

Http://www.pythonchallenge.com/pc/return/evil.html

At first, looking at such a strange picture, I thought it was image processing. Look at the picture called Evil1.jpg, feel strange, try the next evil2.jpg, also really have, hint said not JPG–GFX changed into GFX really have such a document, but do not know what thing.

Evil3.jpg:no More Evils ...

Evil4.jpg:Bert is evil! goback!

Then do not understand how to do, read the hint to know that the original image of the person put the cards into 5 piles, prompted to the gfx file with the way of dividing into 5 files, the results of the picture is the next level of the site.

13

Http://www.pythonchallenge.com/pc/return/disproportional.html

Press the number key 5 to enter http://www.pythonchallenge.com/pc/phonebook.php

He said to call a evil person, before mentioned Bert is evil, then call him ... It is said that this page uses remote Procedure call (RPC) This magical protocol, anyway, according to a routine change, he returned to the 555-italy

14

Http://www.pythonchallenge.com/pc/return/italy.html

Tip According to the title of the page: Walk around

Page code hint: 100*100 = (100+99+99+98) + (...)

There is the spiral of bread pictures, speculation, to the following picture (in fact, this figure is 10000*1, incredibly can show Solutionkeys) in this form, the result appears a cat.

Before this episode, if you put that graph in a row of the form will appear bit words, and then into the bit.html will suggest that you go the wrong way ...

Then enter cat.html, prompting and its name is Uzi. You'll hear from him later.

15

Http://www.pythonchallenge.com/pc/return/uzi.html

A calendar, 1xx6 year, according to the week and the lower right corner shows a very small February of 29 days, can guess is a leap year, and the answer is reduced to:

In these years

1176

1356

1576

1756

1976

Buy flowers for tomorrow, the figure is labeled 1.26, indicating 1.27 something happened.

He ain ' t the youngest, he is the the second

From the top of these years 1976 is the youngest, the second youngest is 1756

January 27, 2002 2000 people killed in Lagos, Nigerian capital

January 27, 1999 the first trial of Guangxi giant Greed Li Chenglong was sentenced to death

January 27, 1998 China's New Year's Eve echoes Vienna (this is the first time in the history of Chinese folk music in the "musical temple," said the Golden Hall show style)

January 27, 1997 US scientists produce atomic lasers

January 27, 1982 Waldheim wins "UN Peace Prize"

January 27, 1973 Vietnam to sign Paris Agreement on Vietnamese issue

January 27, 1964 China established diplomatic relations with France

January 27, 1950 China to establish a unified tax system

January 27, 1945 Soviet Liberation Auschwitz

January 27, 1937 severe floods in the United States, 1 million people homeless

January 27, 1926 television birth

January 27, 1901-Italian composer Verdi dies

January 27, 1893 Soong Ching Ling's birthday

January 27, 1822 ancient civilizations Greece independence

1756 Year 1 Month Day Austrian Music Master Mozart was born

January 27, 1142 Yue Fei was murdered

Mozart

16

Http://www.pythonchallenge.com/pc/return/mozart.html

Hint said to straighten it, the picture inside the disorderly point is obviously a lot is magenta short-line, the figure by row translation, make the Red line alignment, appeared romance words.

17

Http://www.pythonchallenge.com/pc/return/romance.html

Calves do, wait for him to fill out the problem report

This one...... I forget, the process is quite complicated, or look at the foreign raiders.

18

Http://www.pythonchallenge.com/pc/return/balloons.html

Hint that two pictures are different, and then suggest that the difference is more simple than we think, that is the brightness

Http://www.pythonchallenge.com/pc/return/brightness.html

Picture, the source code inside prompted to download deltas.gz

Download a look is a text file is clearly divided into the left and right two pieces, written in the form of 16, 16 lines, and then the line to find the longest common sub-sequence on both sides, and the left to minus the LCS, get three PNG file, a write A/HTTP Www.pythonchallenge.com/pc/hex/bin.html

One is butter.

One is fly.

One of the pictures needs to be opened with PS, wasting a lot of time ...

User name password after several close

Butter

Fly

19

Http://www.pythonchallenge.com/pc/hex/bin.html

An email that can be downloaded to make music and hear sorry.

The color of the Indian map shown in the figure is reversed and associated with inversion.

In addition to the header of the file before and after the byte exchange, the new music heard idiot, and then the past ...

It's so magical that there are sound that can be heard.

20

Http://www.pythonchallenge.com/pc/hex/idiot.html

Http://www.pythonchallenge.com/pc/hex/idiot2.html

See range from the header of the picture, and then programmatically construct the requested range, presumably

var req =webrequest.create (@ "http://www.pythonchallenge.com/pc/hex/unreal.jpg") as HttpWebRequest;

Req. AddRange (R, R + Len);

Req. Credentials = newnetworkcredential ("Butter", "Fly");

var rep = req. GetResponse ();

using (var sr = Rep. GetResponseStream ())

{

StreamWriter s = new StreamWriter ("C:\\1.dat");

Byte[] A = new byte[10000000];

int t;

while (t = Sr. Read (A, 0, a.length))! = 0)

{

int t = Sr. Basestream.read (A, 0, a.length);

S.basestream.write (A, 0, T);

}

Console.WriteLine ("{0} {1}", R,SW. ReadToEnd ());

S.close ();

}

First a lot of text hints, said I invade, and then try to set the starting position of range to 2123456789, prompted the password is my new nickname, also prompted the result of the location, and then in that position to finish the range of the head, download, found a compressed package, the password is Redavni

21st

This is not achieved, directly read the answer on the Internet.

It probably means that Just download to the compressed package inside there is a package.pack file, in fact, is a compressed file, using the zlib and bz2 two ways to compress, then also appropriate to reverse the file (about this hint is he said this is a childhood game, drum pass flowers, foreign play is not the same, need a layer of demolition of the thing to transfer ...... Then record the operation of the three things, a "" ", A" # ", a carriage return, saw the characters to spell up the copper words.

22

Http://www.pythonchallenge.com/pc/hex/copper.html

Hint: simulation, also suggest that white.gif will be more brightness than imagined, found that this GIF is multi-frame, almost in the middle of the image is slightly brighter than the color of black ... Those colors appear in the 9 positions of the 3*3 as the keypad layout. And then one at a time as a direction vector, which is just a few letters of bonus.

23

Http://www.pythonchallenge.com/pc/hex/bonus.html

' VA gur snpr bs jung? '

This is another 1th in the displacement encryption ... And then translate it into the face of what?

What's This module?

This is relatively silent, enter import this in Python, showing a large segment:

The Zen of Python, by Tim Peters

Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren ' t special enough tobreak the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse thetemptation to guess.

There should be one--and preferably Onlyone--obvious.

Although that is obvious atfirst unless you ' re Dutch.

Now is better than never.

Although never is often better than *right*now.

If the implementation is hard-to-explain,it ' s a bad idea.

If the implementation is easy-to-explain,it may be a good idea.

Namespaces is one honking great idea--let's do more of those!

Then the next level is ambiguity ...

24

Http://www.pythonchallenge.com/pc/hex/ambiguity.html

BFS, from top to bottom, and then put the color of the passing point (only see the RGB in the R) at all intervals to write to a file, found to be a zip, prompting the next off Lake

25

Http://www.pythonchallenge.com/pc/hex/lake.html

Lake1.wav ~lake25.wav in the image.

26

Http://www.pythonchallenge.com/pc/hex/decent.html

Send a letter of apology to the e-mail that was written in 19.

And then know that before 21 off that compression package inside of useless mybroken.zip MD5, also said wrong a byte, poor lift, inside the image is written speed

Here's a tip to miss the boat, speedboat.

27

Http://www.pythonchallenge.com/pc/hex/speedboat.html

Read the tips of the Internet before the ...

First of all, of course download zigzag.gif

Even researched the GIF file format, found the file structure is very strange, do not use GIF standard to compress.

Looks like his tables. One is the color table, one is the image below

Image grayscale as a binary output, image grayscale index also output, found that the two are almost the same, but a byte difference.

After the alignment, found that two files only a little bit different, the difference is extracted, one of which can be seen BZ2 compression, decompression is a text, it seems to be the next level of URLs and keywords.

A python keyword was found on the web, and the key words in the file were all erased, and the following was obtained:

.. /ring/bell.html

Switch

Repeat

This sequence of 3 strings, username repeat, password switch

User name password after several close

Repeat

Switch

28

Http://www.pythonchallenge.com/pc/ring/bell.html

The legend of Ring-ring-ring reading will turn green.

Access green.html will prompt "yes! green! "

Also can see a lot of green vertical bar, after extracting green channel found that those vertical bars are paired, even the underlying and odd-numbered underlying is always a dark, a bright.

Page title also hint pairs, guess two a group.

In the group after the difference is generally found to be 42 or 42, only 180 of some of the clothes are not, the difference in advance out of those, is "whodunnit ()." Split () [0]? "

The Python inventor, Guido Van Rossum, turned out to be Guido.

29

Http://www.pythonchallenge.com/pc/ring/guido.html

There are a lot of spaces behind the source file of the Web page ...

Then the number of spaces per line written to a file, but also the beginning of Bzh, directly decompression.

Isn ' t it clear? I am yankeedoodle!

30

Http://www.pythonchallenge.com/pc/ring/yankeedoodle.html

After downloading the CSV file, it is a bunch of floating-point numbers that turn into audio and can't hear anything.

Inside a total of 7,367 floating-point numbers, 7367=139*53, with floating-point *256 when the gray scale is drawn into 139 width 53 high image. shows an equation.

N=str (X[i]) [5]

+str (X[i+1]) [5]

+str (x[i+2]) [6]

Then the floating-point number when the string, 3 a group, using the formula to calculate N, turn to ASCII look, found that the next pass is Grandpa

28 guess the name of the time only guess grandfather, almost guessed ...

31

Http://www.pythonchallenge.com/pc/ring/grandpa.html

First of all, guess where this rock is, find it.

Koh Samui

Thailand

Then the user name Kohsamui, password Thailand, skip to the next page

User name password after several close

Kohsamui

Thailand

Http://www.pythonchallenge.com/pc/rock/grandpa.html

I do not know how to guess the radius is 2, I was a little try out.

After drawing their own fractal, compared with the original, it is found that the new figure and the original image are somewhat different.

The difference between the different colors of the index is 16, with +16 and-16. There are 1679 different places.

1679=23*73

So according to the difference between the positive and negative to draw this chart.

......*.*.*.*..........

.. *.*.....*.*.......*..

*...*...*...*.. *.**.. *.

*.*.*.*.*.*.*.*.. *.. *..

.......................

............**.........

..........**.*.........

..........**.*.........

.........*.*.*.........

.........*****.........

.......................

**....***...**....**...

*.............**.. *....

**.*...**...**....**.*.

*****.*****.*****.*****

.......................

...*.................*.

.......................

....*.................*

*****.............*****

.......................

**....**....***...**...

*.......*.........*....

**.*....**...***.. **.*.

*****.*****.*****.*****

.......................

...*......**.........*.

..........**...........

....*.....**..........*

*****.....**......*****

..........**...........

.. *........*........*..

...*......**.......*...

....**....**......*....

......**...*....**.....

..........**.. **.......

......**...*....**.....

....**....**......*....

...*......*........*...

.. *.......**........*..

.*........**........*..

.*.........*.......*...

.. *.......*.......*....

...*............**.....

....**........**.......

.. *...***.*.**.........

.. *.......*............

.. *.....*****..........

.. *....*.***.*.. *.**.**

......*.. ***.. *.. ******

*.***....***.....**.***

.........*.*.....***.**

.. *......*.*.....******

.. *......*.*.....**....

.. *.....**.**..........

.......................

.. ***.....*............

.. ***.*.*...*.*.*.*.*.*

.. ***.........*.*.*.*..

..............*.*......

........*****..........

......*********........

....***.......***......

...**...........**.....

.. **.*.........*.**....

.**.. **.......**.. **...

.*...*.*.....*.*...*...

.*...*.. *...*.. *...*...

.....*...*.*...*.......

.....*....*....*.......

.....*.........*.......

.......*.. *.*..........

.****.. *****.*.. ****...

Google has been looking for a long time ...

Crop Circle

Chilbolton Radio Telescope

Wherwell, Hampshire, England

Finally found that Arecibo is the address of the next close ...

32

Http://www.pythonchallenge.com/pc/rock/arecibo.html

A very magical game. Each column starts with a number of contiguous sections of the row/columns, and how long each is.

Given the numbers of these headers, this pattern is required.

The result of the warmup is an upward arrow, up.html inside there is a huge to solve ...

Get a python python.html.

There are hints on the page

' Free ' as in ' FreeSpeech ', not as in ' free

Google to GNU information: Tounderstand The concept, you should think for free as in free speech, not as Infree beer.

33

Http://www.pythonchallenge.com/pc/rock/beer.html

The picture in the code is beer1, open beer2.jpg, hint png

After the download is a magical picture ...

According to the idea of the poem in the Code of the page, to remove the light points in the picture, the remaining points should be just the square number, so that they can be drawn in a square picture.

The test found that the colors in the picture were 1, 2, 7, 8, 13, 14, all in groups, so that the points that were lighter than the first group were removed, and the dots brighter than the second group ... Finally, 33 images were produced.

All of them are letters, some letters have boxes outside, and gremlins are connected together.

33 Close all over, very good very strong.

Finally also share a foreign strongman's problem solving report, very gorgeous is complete, very good very strong.

http://garethrees.org/2007/05/07/python-challenge/

An ancient programming game: Python Challenge All-in-one guide (GO)

Related Article

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.