Everything is good when new, but friend when old. 老朋友更醇香。 When did you meet with your last friends last time? Several weeks ago. We had talked about e ...
分类:
其他好文 时间:
2016-07-10 21:41:28
阅读次数:
164
My friend she told me last week that FTK could not "see" keywords in a plain text files when doing index search. That's very interesting. I used to tr ...
分类:
其他好文 时间:
2016-07-09 10:41:29
阅读次数:
124
Description Paul draw a big m*n matrix A last month, whose entries Ai,j are all integer numbers ( 1 <= i <= m, 1 <= j <= n ). Now he selects some sub- ...
分类:
其他好文 时间:
2016-07-08 23:27:41
阅读次数:
369
shift+g//文本末尾gg//到文件头98gg//到指定行dd//删除当前行yy//复制当前行p//粘贴u//取消上一次动作///向下搜索?//向上搜索time//计算一个任务执行时间last//查看当前谁在登陆lastlog//看看哪个用户登录过cat/etc/redhat-release//查看系统版本-n//显示行号uname-a//查看系..
分类:
系统相关 时间:
2016-07-08 20:20:32
阅读次数:
169
方法一:利用ResultSet的getRow方法来获得ResultSet的总行数 ResultSet rs = ps.executeQuery(sql); rs.last(); //移到最后一行 int rowCount = rs.getRow();//得到当前行号,也就是记录数 rs.before ...
分类:
其他好文 时间:
2016-07-08 19:40:22
阅读次数:
166
<style> .li{line-height:30px;overflow:hidden;width:200px;height:30px;text-align:justify;text-align-last:justify;border:1px solid black;} .li:after{dis ...
分类:
其他好文 时间:
2016-07-08 17:50:51
阅读次数:
107
首先,预处理三个数组。 pre[x]表示在此之前颜色为x的客栈有多少个。 f[x]表示在此之前的客栈中,某个点c,c的颜色为x,并且从c点到已经读入的点之间有费用小于p的客栈,这样的c点的个数 last[x]表示上一个颜色为x的客栈出现在哪 那么接下来的事情就很显然了。 首先读进去一个客栈,如果这个 ...
分类:
其他好文 时间:
2016-07-08 10:05:41
阅读次数:
144
什么是栈堆 在计算机领域,堆栈是一个不容忽视的概念,栈堆是两种数据结构。堆栈都是一种数据项按序排列的数据结构,只能在一端(称为栈顶(top))对数据项进行插入和删除。要点:堆,队列优先,先进先出(FIFO—first in first out);栈,先进后出(FILO—First-In/Last-O ...
分类:
Web程序 时间:
2016-07-08 06:46:12
阅读次数:
289
有多种分类,直接插入排序,二分插入排序等,这里简单写下直接插入排序 C语言版 //函数声明void insertion_sort(int array[], int first, int last);int array[11] = {23, 8, 90, 12, 7, -9, 54, 3, 36, 9 ...
分类:
编程语言 时间:
2016-07-07 19:11:45
阅读次数:
171
1. 程序start的时候注册脚本结束时的回调函数: 2. 通过error_get_last()获取最后一次发生的错误信息 3. 通过halt格式化错误信息输出 ...
分类:
Web程序 时间:
2016-07-07 11:03:57
阅读次数:
313