码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
LeetCode: Valid Palindrome
LeetCode: Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A...
分类:其他好文   时间:2014-08-25 22:31:25    阅读次数:216
[LeetCode] Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c...
分类:其他好文   时间:2014-08-25 13:04:24    阅读次数:139
[LeetCode] Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2014-08-25 11:47:54    阅读次数:172
Text Justification
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You shoul...
分类:其他好文   时间:2014-08-24 23:32:23    阅读次数:254
【Leet Code】Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters  Total Accepted: 20506 Total Submissions: 92223My Submissions Given a string, find the length of the longest substring without repeating char...
分类:其他好文   时间:2014-08-23 21:42:21    阅读次数:359
c-整型家族(integer family)
C中,整型有: characters,shortinteger,integer,longinteger 看起来,longinteger要比shortinteger大,但是这也是不一定的. shortinteger最少有16位,而longinteger最少要32位.但是,要设计默认的intege...
分类:其他好文   时间:2014-08-22 15:47:08    阅读次数:186
uva 6757 Cup of Cowards(中途相遇法,貌似)
uva 6757 Cup of CowardsCup of Cowards (CoC) is a role playing game that has 5 di?erent characters (Mage, Tank, Fighter,Assassin and Marksman). A team ...
分类:其他好文   时间:2014-08-21 22:43:24    阅读次数:456
B - Big String
We will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). Repeat the followi...
分类:其他好文   时间:2014-08-20 15:43:02    阅读次数:178
【线段树】HDU 3397 Sequence operation 区间合并
操作 Change operations: 0 a b change all characters into '0's in [a , b] 1 a b change all characters into '1's in [a , b] 2 a b change all '0's into '1's and change all '1's into '0's in [a, b] Out...
分类:其他好文   时间:2014-08-20 12:36:52    阅读次数:392
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2014-08-19 23:57:55    阅读次数:475
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!