ID 选择器:#green {color:green;}是绿色的。ID 选择器 + 派生选择器:#table1 td { text-align: right; font-style: normal; color: blue; }#table1 tr { color: #...
分类:
Web程序 时间:
2014-06-28 12:59:30
阅读次数:
208
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example, Given n = 3, there are a total of 5 unique BST'...
分类:
其他好文 时间:
2014-06-28 11:57:50
阅读次数:
232
Given a binary tree, return the inorder traversal of its nodes' values.For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,3,2]...
分类:
其他好文 时间:
2014-06-28 11:26:55
阅读次数:
206
原地址:http://blog.csdn.net/akara/article/details/6165421[原创]使用行为树(Behavior Tree)实现网游奖励掉落系统by AKara 2011-01-24 @http://blog.csdn.net/akara@ akarachen(at)...
分类:
其他好文 时间:
2014-06-24 09:53:58
阅读次数:
245
原地址:http://blog.csdn.net/akara/article/details/6084786[原创]使用行为树(Behavior Tree)实现游戏AIby AKara 2010-12-09 @http://blog.csdn.net/akara@ akarachen(at)gmai...
分类:
其他好文 时间:
2014-06-24 09:37:08
阅读次数:
354
题目:Flatten Binary Tree to Linked ListGiven a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 ...
分类:
其他好文 时间:
2014-06-24 09:09:02
阅读次数:
147
Et-G peut durer jusqu'à cinq jours dans l'urine, lisseur ghd et confirme hors de tout doute qu'une personne a bu un verre en ce moment. Si vos cheveux...
分类:
其他好文 时间:
2014-06-23 08:11:00
阅读次数:
257
首先我们先导入一些基本的包: asm-3.3.jar :操作java字节码的类库;(反射的替代方案,ASM是小巧轻便的 Java 字节码操控框架 ,它能方便地动态生成和改造 Java 代码。) asm-commons-3.3.jar :提供了基于事件的表现形式; asm-tree-3.3.jar ....
分类:
其他好文 时间:
2014-06-23 07:21:01
阅读次数:
209
题目意思是给你一个字符串,f[x]是长度为x的子串中,出现个数最多的那个串的出现次数。给出原串,依次输出f[1],f[2],……。后缀自动机。对于某一个状态,right[]值的大小就是出现的次数,而且是对于长为step[]的子串的出现次数。因为小于step值的串在前面已经加了,在pre指针线上面的状...
分类:
其他好文 时间:
2014-06-23 07:14:18
阅读次数:
254