vi编辑器分为命令模式 ,insert模式,命令行模式命令模式: i,o,a,s,I,O,A,S进入insert模式编辑,其中i在光标位置插入,I在行头插入,o在下面另加一行,O在上面另加一行 u 撤销 ctrl+r还原 dd剪切,yy赋值,ndd,nyy ,如5dd剪切5行 ni,进入后...
分类:
其他好文 时间:
2014-06-19 00:16:44
阅读次数:
282
用JMeter可以对Http请求进行Performance Test,来分析哪些方法花费的时间多,哪些方法花费的时间少,有了这样的分析结果后,我们就可以集中力量来改进费时的方法。安装和运行JMeter需要配置Java环境,这里省略具体步骤~~1):双击jmeter.bat来运行此程序后,如下图创建一...
分类:
其他好文 时间:
2014-06-15 21:19:20
阅读次数:
317
drop table e1 purge;drop table e2 purge;create table e1 as select ename,sal,hiredatefrom emp where 9=0;create table e2 as select ename,deptno,mgrfrom ...
分类:
其他好文 时间:
2014-06-15 19:53:02
阅读次数:
249
sqlconnection数据库连接对象:只有联接才能进行其它操作 sqldataadapter数据适配器对象,就是用某个sqlconnection,执行某个查询语句(SELECT语句),放到某个DataSet里 sqlcommand 数据命令对象(SELECT,INSERT,DELETE,UPDA...
分类:
数据库 时间:
2014-06-15 18:40:44
阅读次数:
290
题目
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates i...
分类:
其他好文 时间:
2014-06-15 17:27:16
阅读次数:
251
sqlconnection数据库连接对象:只有联接才能进行其它操作 sqldataadapter数据适配器对象,就是用某个sqlconnection,执行某个查询语句(SELECT语句),放到某个DataSet里 sqlcommand 数据命令对象(SELECT,INSERT,DELETE,UPDA...
分类:
数据库 时间:
2014-06-15 17:05:46
阅读次数:
233
在C++中在C++中for循环可以使用类似java的简化的for循环,可以用于遍历数组,容器,string以及由begin和end函数定义的序列(即有Iterator)
#include
#include
#include
using namespace std;
int main()
{
map ms;
ms.insert(make_pair("a", 1));
ms....
分类:
编程语言 时间:
2014-06-15 10:46:30
阅读次数:
241
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:
其他好文 时间:
2014-06-14 19:17:30
阅读次数:
225
当某次事务处理对生产数据库中的数据作出更改时,Oracle数据库将在一个联机重做日志文件中记录此次更改。在DataGuard中可以配置写日志的这个过程,除了把日志记录到本地的联机日志文件和归档日志文件中,还可以通过网络,把日志信息发送到远程的从(standby)数据库服务器上。这个备用日志文件写入过程可以是实时、同步的,以实现零数据丢失(最大保护模式maximum protection);也可以是异步的,以减少对网络带宽的压力(最大性能模式maximum performance);或者是异步和同步可以自动切...
分类:
数据库 时间:
2014-06-14 17:57:25
阅读次数:
499
真的被这道题目恶心到了。。。281行代码。。。比一个模拟题还费事。。。
为了方便起见,在数列的前面和后面都加一个0点。
add x :把第k2+2个点旋转至root1.然后sum[root10]+=x;
reverse:把第k1+2个点旋转至root1.然后rev[root10]^=1;
insert x:得到第2个点,然后在第2个点之后插入x。
delete
:把第1个点旋...
分类:
其他好文 时间:
2014-06-14 00:54:26
阅读次数:
324