我以为像a、aa这样的输入应该是没有输出的,结果还是要输出aa。建树的时候就是常规建树,不过查找的时候要做一些变形:对于一个单词,从第一位检查有没有单词是它的前缀,如果有的话,再去检查它的后半部分是不是一个独立的单词,要满足这两次查找才能输出。题意:给一些单词(以字典序输入),找出那些可以分成另外的...
分类:
其他好文 时间:
2014-06-26 18:33:13
阅读次数:
173
i386(32位):http://rhel.ieesee.net/uingei/rhel-server-6.3-i386-dvd.iso迅雷快传:http://kuai.xunlei.com/d/PFNNCGDDEWSTx86_64(64位):http://rhel.ieesee.net/uinge...
分类:
系统相关 时间:
2014-06-26 12:30:52
阅读次数:
258
Unix/Linux版本众多,我们推荐Unix/Linux初学者选用几款典型的Unix/Linux操作系统进行学习。Red Hat Enterprise Linux是Red Hat公司的Linux发行版,面向商业市场,包括大型机。红帽公司从Red Hat Enterprise Linux 5开始对企业版LINUX的每个版本提供10年的支持[1]。而Red Hat Enterprise Linux常...
分类:
系统相关 时间:
2014-06-26 07:12:25
阅读次数:
318
#include"stdafx.h"#include#includeusingnamespacestd;classHand{public:voidGet(){coutGet();mouth->Eat();coutSee();leg->Run();coutEat();person->Run();ret...
分类:
编程语言 时间:
2014-06-25 14:17:23
阅读次数:
269
每一个iPhone程序都包含一个UIApplication对象,它管理整个程序的生命周期,从加载第一个显示界面开始,并且监听系统事件、程序事件调度整个程序的执行。
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int ret...
分类:
移动开发 时间:
2014-06-25 06:55:38
阅读次数:
268
续接“GoldenGate配置(四)之veridata配置” 网址:点击打开链接
veridata实验举例(1)验证TCUSTMER与TCUSTORD两节点同步情况
环境:
Item
Source System
Target System
Platform
Red Hat Enterprise
Li...
分类:
其他好文 时间:
2014-06-25 06:42:54
阅读次数:
182
题目链接:uva 10843 - Anne's game
题目大意:给出n,问说有n个节点构成的标号树有多少种。
解题思路:cayley定理的躶题。
#include
#include
typedef long long ll;
const ll MOD = 2000000011;
ll Pow (ll x, ll n) {
if (n 0)
ret...
分类:
其他好文 时间:
2014-06-24 23:46:31
阅读次数:
239
GoldenGate配置(三)之DDL复制配置
【说明】
此篇续接上一篇:“GoldenGate配置(二)之双向复制配置”点击打开链接
环境:
Item
Source System
Target System
Platform
Red Hat Enterprise
Linux Server r...
分类:
其他好文 时间:
2014-06-24 21:24:49
阅读次数:
322
GoldenGate配置(四)之veridata配置
环境:
Item
Source System
Target System
Platform
Red Hat Enterprise
Linux Server release 5.4
Red Hat Enterprise
Linux Serve...
分类:
其他好文 时间:
2014-06-24 15:28:41
阅读次数:
270
创建action,内容如下:package action; import com.opensymphony.xwork2.ActionSupport; public class A extends ActionSupport { public String toJsp(){ ret...
分类:
其他好文 时间:
2014-06-24 14:01:10
阅读次数:
197