create user test identified by root;
grant create session,resource to root;
alter user test account unlock;
grant create view to test;
grant any sequece to test;
grant create synonym to ich;--创建别...
分类:
数据库 时间:
2014-08-10 13:00:50
阅读次数:
357
Input: Executing std::cin >> v discards any whitespace characters in the standard input stream, then reads from the standard input into variable v. It...
分类:
其他好文 时间:
2014-08-09 13:18:47
阅读次数:
198
Regular Expression MatchingImplement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more o...
分类:
其他好文 时间:
2014-08-08 17:59:16
阅读次数:
173
Permission is hereby granted, free of charge, to any person obtaininga copy of this software and associated documentation files (the"Software"), to de...
分类:
Web程序 时间:
2014-08-08 17:28:26
阅读次数:
393
Any class that manages a resource (awrapper, like a smart pointer) needs to implementThe Big Three. While the goals and implementation of the copy-con...
分类:
其他好文 时间:
2014-08-08 15:51:06
阅读次数:
262
1 修改文件postgresql.conf 加入listen_addresses='*' 默认是localhost, '*'表示监视所有主机(any)2 修改文件pg_hba.conf 在host all all 127.0.0.1/32 ...
分类:
其他好文 时间:
2014-08-08 11:56:05
阅读次数:
215
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
思路:第一遍正常复制链表,同时用哈希表保存链表中原始节点和新...
分类:
其他好文 时间:
2014-08-07 23:22:45
阅读次数:
280
题意:给n个文件,包括文件名和文件大小,然后给出k个关键词,查询包含该关键词的文件的大小总和。文件名为一些中括号括起的关键词的合集。解法:可用bitset记录每一个关键词在哪些文件中出现,然后查询即可。bitset用法如下:bitset bs;bool is_set = bs.any(); /...
分类:
其他好文 时间:
2014-08-07 22:33:48
阅读次数:
232
Transposed MatrixIn linear algebra, the transpose of a matrixAis another matrixAT(also writtenA′,Atr,tAorAt) created by any one of the following equiv...
分类:
其他好文 时间:
2014-08-07 18:52:40
阅读次数:
242
这2天 做的都是有关矩阵的 =-=....小小矩阵 竟然有这么多 花头...这题 的特点是 We can swap any two columns any times 就是可以任意交换X列与Y列 任意次一开始 我还担心我的方法 会不会tle 看到3000ms就放心了。。。我总觉得 会有更高效的方法 ...
分类:
其他好文 时间:
2014-08-06 18:14:41
阅读次数:
263