2017年9月2日
摘要: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette 阅读全文
posted @ 2017-09-02 20:20 Beserious 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 无意间发现这个http://codevs.cn/ 这个网站的注册和登录犹如大学教务管理系统,post的数据都是明文的。我就呵呵呵了 那么,我们就写个自动注册脚本。批量注册。 coding=utf 8 import requests, random def go(n, p): header = { ' 阅读全文
posted @ 2017-09-02 13:59 Beserious 阅读(186) 评论(0) 推荐(0) 编辑
摘要: There is a strange printer with the following two special requirements: Given a string consists of lower English letters only, your job is to count th 阅读全文
posted @ 2017-09-02 13:44 Beserious 阅读(1193) 评论(0) 推荐(0) 编辑