# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/regular-expression-matching/Implement regular expression matching with support for '.' and '...
分类:
编程语言 时间:
2015-01-15 00:11:02
阅读次数:
215
【问题】
在做LeetCode的Merge Intervals时用到c++的sort函数,一直出这个错误,甚是郁闷。最后终于找到了问题所在。
【代码】
#include
#include
#include
using namespace std;
struct Interval {
int start;
int end;
Interval() : st...
分类:
编程语言 时间:
2015-01-14 18:01:28
阅读次数:
141
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input st...
分类:
其他好文 时间:
2015-01-14 12:50:05
阅读次数:
162
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:
其他好文 时间:
2015-01-13 19:32:58
阅读次数:
160
描述GiventwostringsAandB,whosealphabetconsistonly‘0’and‘1’.YourtaskisonlytotellhowmanytimesdoesAappearasasubstringofB?Forexample,thetextstringBis‘1001110110’whilethepatternstringAis‘11’,youshouldoutput3,becausethepatternAappearedattheposit输入Thefir..
分类:
其他好文 时间:
2015-01-13 01:33:32
阅读次数:
132
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2015-01-12 16:39:22
阅读次数:
168
Wildcard MatchingImplement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters...
分类:
其他好文 时间:
2015-01-10 22:20:52
阅读次数:
222
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input st...
分类:
其他好文 时间:
2015-01-08 20:17:55
阅读次数:
216
Regular Expression MatchingImplement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more o...
分类:
其他好文 时间:
2015-01-07 21:58:44
阅读次数:
141
今天在家里电脑重签名过的apk拿到公司来用装到模拟器上,运行Robotium测试用例时,报了如下错误,原本以为是工程里的activity名称和包名写错了呢,检查了一遍发现木有错误呀。。。。好吧,那我重新签名总可以吧,又用re-sign.jar重签名了一次,然后重装,报错依旧,没有解决问题。。。只能问...
分类:
其他好文 时间:
2015-01-05 18:04:33
阅读次数:
167