题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4782 Problem Description Coach Pang has a lot of hobbies. One of them is playing with “tag soup” with t ...
分类:
其他好文 时间:
2017-06-18 11:58:33
阅读次数:
137
day02 数字相关的转换 bin() 2进制oct() 8进制hex() 16进制 字符串 1 class str(object): 2 def capitalize(self): 3 首字母变大写 4 5 def center(self, width, fillchar=None): 6 原来字 ...
分类:
编程语言 时间:
2017-06-07 17:03:50
阅读次数:
150
Write an algorithm which computes the number of trailing zeros in n factorial. Example 11! = 39916800, so the out should be 2 Challenge O(log N) time ...
分类:
其他好文 时间:
2017-06-02 01:12:07
阅读次数:
178
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
其他好文 时间:
2017-05-26 13:21:01
阅读次数:
1487
D - Throwing cards away I Given is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The following operation ...
首先,写一个cmd脚本 xx.cmd 再写一个bat脚本xx.bat serviceName一般就是orcl 若要加载sql则 写一个ctl文件xx.ctl 指定分隔符,字段终止于X'09' (很重要),是一个制表符(TAB),如果用逗号分割就将X'09'替换为',' 指字段终止于'|' ...
分类:
数据库 时间:
2017-05-10 18:56:25
阅读次数:
225
Recommended data-structures: ArrayMap<K,V> in place of HashMap<K,V> ArraySet<K,V> in place of HashSet<K,V> SparseArray<V> in place of HashMap<Integer, ...
分类:
其他好文 时间:
2017-05-03 11:36:50
阅读次数:
144
审计(Audit)用于监视用户所执行的数据库操作,审计记录可存在数据字典表(称为审计记录:存储在system表空间中的SYS.AUD$表中,可通过视图dba_audit_trail查看)或操作系统审计记录中(audit_file_dest参数决定)。默认情况下审计是没有开启的。1、审计的类型有四种:Stateme..
分类:
数据库 时间:
2017-04-25 10:06:22
阅读次数:
304
内容: 描述SQL中各类型的可用函数 在select语句中使用字符、数字函数 函数是接受输入参数(输入参数是可选的),执行运算并返回单个值的程序。每次执行时,函数只返回一个值。可广义分为两类:单行函数、多行函数。 单行函数:字符、数字、日期、转换函数和通用函数。这些函数每次只作用于数据集的一行。如果 ...
分类:
其他好文 时间:
2017-04-15 18:29:07
阅读次数:
144
今天拿到了一个vmware的虚拟机硬盘镜像,是其他公司的演示产品。 启动之后是带着ubuntu字样的grub。进入系统之后也不是shell,而是一个定制的命令行。所以如果想了解细节的话,只能单独挂硬盘了。 首先现在同事的vmware虚拟机里用CentOS的光盘挂载了一下,简单的看了看,用起来不太方便 ...
分类:
系统相关 时间:
2017-04-13 11:48:41
阅读次数:
264