Nothing to hard to think. Just take care of boundary conditions.class Solution {public: string convert(string s, int nRows) { if(s.empty() |...
分类:
其他好文 时间:
2014-07-23 15:04:36
阅读次数:
227
A collegiate textbook problem. Nothing special, but just take care of your memory use.class Solution {public: TreeNode *_buildTree(int pre[], int &...
分类:
其他好文 时间:
2014-07-23 12:00:46
阅读次数:
248
软件破解常用汇编指令 cmp a,b // 比较a与b mov a,b // 把b值送给a值,使a=b ret // 返回主程序 nop // 无作用,英文(no operation)简写,意思“do nothing”(机器码90) ...
分类:
其他好文 时间:
2014-07-22 23:12:12
阅读次数:
305
问题的思路是这样:
循环取头部合并,其实也可以换个角度来看,就是将后面的链表结点,一次隔空插入到第一部分的链表中。
class Solution:
# @param head, a ListNode
# @return nothing
def reorderList(self, head):
if None == head or None == ...
分类:
编程语言 时间:
2014-07-16 17:23:30
阅读次数:
207
Layers(分层)下拉列表:用来控制Scene视图中游戏对象的显示,在下拉菜单中为勾选状态的物体将显示在Scene视图中。Everything:显示所有的游戏对象Nothing:不显示任何游戏对象Default:显示没有任何控制的游戏对象TransparentFX:显示透明的游戏对象Igonore...
分类:
其他好文 时间:
2014-07-14 09:54:17
阅读次数:
712
message并不能达到想要的目的: If Not udoc Is Nothing Then 'MessageBox "既にデータがあります、先月のデータを削除してください。",MB_OK,"クリア確認" If MessageBox("既にデータがあります、先月のデータを削除しますか?", _ .....
分类:
其他好文 时间:
2014-07-10 13:17:47
阅读次数:
238
加一个中间文书存储doc: If Not udoc Is Nothing Then Dim askme As Integer askme = ws.Prompt (PROMPT_YESNO, _ "クリアの確認", "既にデータがあります、先月のデータを直接削除しますか?手操作で削除しますか?") ...
分类:
其他好文 时间:
2014-07-10 12:01:09
阅读次数:
173
/**
*g_type_init:
*
*Thisfunctionusedtoinitialisethetypesystem.SinceGLib2.36,
*thetypesystemisinitialisedautomaticallyandthisfunctiondoes
*nothing.
*
*Deprecated:2.36:thetypesystemisnowinitialisedautomatically
*/
void
g_type_init(void)
{
g_assert_type_syste..
分类:
数据库 时间:
2014-07-04 06:13:52
阅读次数:
1126
本文介绍Android中Intent的各种常见作用。1 Intent.ACTION_MAINString: android.intent.action.MAIN标识Activity为一个程序的开始。比较常用。Input:nothingOutput:nothing 2 Intent.Action...
分类:
移动开发 时间:
2014-07-02 20:07:08
阅读次数:
211
破烂的文具盒里,一张十年的纸条子和一袋存了十年的德芙巧克力
浅绿色的纸条子上写是当时你给我抄的作业题目,蓝色清秀的字体
可是十年后,你却已嫁他人
将身后的风雪,夕阳,空气埋葬、窑藏,待很多年以后酿成美酒,开窑,与另一个人共饮...
分类:
其他好文 时间:
2014-06-22 07:59:02
阅读次数:
205