标签:ext make url dmp hid none print opened com
1、K -> M O ->Q E -> G
Hint:每个人在解决这个问题之前先想两次
Text:g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr‘q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj.
每个字母的ASCII码值增加2
# -*- coding:UTF-8 -*- str = "g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr‘q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj." # (ord(x)+2-ord(‘a‘))%26 # x的ASCII码值+2之后是第几个字母 print("".join(map(lambda x: chr(ord(‘a‘) + (ord(x)+2-ord(‘a‘)) % 26) if x.isalpha() else x, str)))
转换之后的Text:i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that‘s why this text is so long. using string.maketrans() is recommended. now apply on the url.
再对url进行转换然后替代map进入下一页面:ocr.html
将url中的pc替换为pcc可以看到前一题的官方解
标签:ext make url dmp hid none print opened com
原文地址:http://www.cnblogs.com/Zzzml/p/7615910.html