'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2014-11-15 06:35:33
阅读次数:
152
最近在学习QT,自己仿写了一个简单的QT绘图程序,但是在退出时总是报错,断言错误:报错主要问题在_BLOCK_TYPE_IS_VALID(pHead->nBlockUse),是在关闭窗口时报的错;先前考虑是析构函数有问题,重写并且排查相关变量并未发现问题。根据报错问题又推测栈调用出现内存溢出,寻找程...
分类:
其他好文 时间:
2014-11-15 01:23:13
阅读次数:
169
Xcode中Architectures、Valid Architectures和Build Active Architecture Only的意思...
分类:
其他好文 时间:
2014-11-15 00:18:37
阅读次数:
161
问题:就是写HTML+JSP代码时有些中文,保存时提示sava could not be completed.Reason:some characters cannot be mapped using "ISO-8859-1" character encoding.Either change the...
分类:
Web程序 时间:
2014-11-14 22:28:25
阅读次数:
288
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他好文 时间:
2014-11-14 21:02:22
阅读次数:
179
题意:给出一棵树,并给出每个节点上的权值,求有多少个连通子块的最大值与最小值的差不超过d。对于每个顶点建立一颗树,然后找比它价值大的 或者 价值相等且之前没有被当作顶点建立树的点,这样就避免重复了。dp[x]表示包涵x且以x为顶点的连通子树的个数,dp[x] =∏ (dp[son[x]] + 1.....
分类:
其他好文 时间:
2014-11-14 19:34:47
阅读次数:
140
碰到这种情况一般我们首先试的就是重启Xcode,这种方法有的时候管用有的时候不管用。下面介绍几种方法:一:可能是valid architectures支持armv7,或者armv7s,你要试着更改这个:二:(这个没有试过,在网上找的,具体情况需要个人去试)1、Close the Xcode2、Del...
分类:
移动开发 时间:
2014-11-13 18:48:29
阅读次数:
206
Valid SudokuDetermine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are ...
分类:
其他好文 时间:
2014-11-13 18:26:31
阅读次数:
145
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-11-13 18:06:38
阅读次数:
209
The Cow LexiconDescriptionFew know that the cows have their own dictionary with W (1 ≤ W ≤ 600) words, each containing no more 25 of the characters 'a...
分类:
其他好文 时间:
2014-11-13 16:05:50
阅读次数:
201