上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 46 下一页
  2017年9月2日
摘要: 无意间发现这个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) 编辑
  2017年8月31日
摘要: Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between i and j equals 阅读全文
posted @ 2017-08-31 09:18 Beserious 阅读(171) 评论(0) 推荐(0) 编辑
  2017年8月30日
摘要: Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that 阅读全文
posted @ 2017-08-30 17:48 Beserious 阅读(326) 评论(0) 推荐(1) 编辑
摘要: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a conca 阅读全文
posted @ 2017-08-30 13:20 Beserious 阅读(246) 评论(0) 推荐(0) 编辑
  2017年8月29日
摘要: Given two integers n and k, you need to construct a list which contains n different positive integers ranging from 1 to n and obeys the following requ 阅读全文
posted @ 2017-08-29 16:12 Beserious 阅读(222) 评论(0) 推荐(0) 编辑
  2017年8月28日
摘要: If the depth of a tree is smaller than 5, then this tree can be represented by a list of three-digits integers. For each integer in this list: Given a 阅读全文
posted @ 2017-08-28 21:32 Beserious 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non-decr 阅读全文
posted @ 2017-08-28 18:23 Beserious 阅读(219) 评论(0) 推荐(0) 编辑
  2017年8月25日
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. For example, given the following 阅读全文
posted @ 2017-08-25 22:10 Beserious 阅读(172) 评论(0) 推荐(0) 编辑
  2017年8月24日
摘要: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For exam 阅读全文
posted @ 2017-08-24 18:20 Beserious 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 46 下一页