1036. Crypto ColumnsConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionThe columnar encryption scheme scrambles the letters in a message (or...
分类:
其他好文 时间:
2014-10-03 19:15:05
阅读次数:
250
2213: [Poi2011]DifferenceTime Limit:10 SecMemory Limit:32 MBSubmit:343Solved:108[Submit][Status]DescriptionA word consisting of lower-case letters of ...
分类:
其他好文 时间:
2014-10-02 12:53:12
阅读次数:
540
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-10-01 09:59:00
阅读次数:
245
>>>importstring
>>>fornindir(string):
...ifn.startswith(‘_‘):
...continue
...v=getattr(string,n)
...ifisinstance(v,basestring):
...print‘%s=%s‘%(n,repr(v))
...print
...
ascii_letters=‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ‘
..
分类:
其他好文 时间:
2014-09-25 10:36:49
阅读次数:
241
题目链接A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message c...
分类:
其他好文 时间:
2014-09-25 01:02:47
阅读次数:
240
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
编程语言 时间:
2014-09-22 23:29:43
阅读次数:
231
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-09-18 14:40:43
阅读次数:
208
Paul hates palindromes. He assumes that string
s is tolerable if each its character is one of the first
p letters of the English alphabet and
s doesn't contain any palindrome contiguous substring ...
分类:
其他好文 时间:
2014-09-17 18:47:02
阅读次数:
247
Over time, Alexey's mail box got littered with too many letters. Some of them are read, while others are unread.
Alexey's mail program can either show a list of all letters or show the content of a s...
分类:
其他好文 时间:
2014-09-17 15:16:42
阅读次数:
248
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-09-16 00:05:09
阅读次数:
405