codeblock

2016年3月31日 星期四

Python Challenge level 15

http://www.pythonchallenge.com/pc/return/uzi.html (login: huge/file)

- A calendar. January 26. Don't know which year it is. "he ain't the youngest, he is the second". "todo: buy flowers for tomorrow".
- I have to buy flowers on January 27 for a man who is the second and not the youngest one. What?

2016年3月30日 星期三

Python Challenge level 14


http://www.pythonchallenge.com/pc/return/italy.html (login: huge/file)

- "Walk around" is the title. A spiral bread. A 10000*1 picture named "wire.png" presented as a 100*100 one. An equation: 100*100 = (100+99+99+98) + (...
- What we should do is rearrange the pixels in wire.png in a spiral manner like that bread and make it a 100*100 picture!

Python Challenge level 13

http://www.pythonchallenge.com/pc/return/disproportional.html (logon:huge/file)

- "call him"... click number 5 on the phone, and then a xml error page shows up!
- Google the fault code (105) and knowing that it is a XMLRPC module error. According to http://stackoverflow.com/questions/7950297/faultcode-105-faultstring-xml-error-invalid-document-end-at-line-1-column-1, I should send some "xml request" to this page rather than just browsing the page.

Python Challenge level 12

http://www.pythonchallenge.com/pc/return/evil.html (login:huge/file)

- I downloaded evil1.jpg and checked this picture over and over again, but I still don't know how to deal with the EVIL here.
- After searching for some tips on Google, there is a person said, "The picture is evil1.jpg, so not surprisingly there will be evil2.jpg." Well, for me, at least, it has little sense.

Python Challenge level 11

http://www.pythonchallenge.com/pc/return/5808.html (login:huge/file)

- No much tips, just "odd even" in the title and a very vague picture. Seems like this picture is processed for a certain purpose.
- Divide the picture into 4 parts according to the pixel coordinate. (00, 01, 10, 11)

Python Challenge level 10

http://www.pythonchallenge.com/pc/return/bull.html (login:huge/file)

- Click the bull in the picture, you will see "a = [1, 11, 21, 1211, 111221, "
- This is so called "look and say sequence", please refer to https://en.wikipedia.org/wiki/Look-and-say_sequence

2016年3月29日 星期二

Python Challenge level 9

http://www.pythonchallenge.com/pc/return/good.html (login:huge/file)

- "connect the dots", remember me a little game i played when i was young...
- See also: http://pillow.readthedocs.org/en/3.1.x/reference/ImageDraw.html
- Draw a picture according to two lists: "first" and "second"