SIEGE 3.0.0Usage: siege [options] siege [options] URL siege -g URLOptions: -V, --version VERSION, prints the version number. ...
分类:
其他好文 时间:
2014-08-14 16:13:28
阅读次数:
238
KiKi's K-Number
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2598 Accepted Submission(s): 1199
Problem Description
For the k-...
分类:
其他好文 时间:
2014-08-14 14:17:18
阅读次数:
172
Description
Given a binary number, we are about to do some operations on the number. Two types of operations can be here.
'I i j' which means invert the bit from
i to j (inclusive)
'Q i' a...
分类:
其他好文 时间:
2014-08-14 14:10:59
阅读次数:
215
下面有一段html文档
Introduction to the DOM
There are a number of reasons why the DOM is awesome, here are some:
It can be found everywhere.
It's easy to use.
It can...
分类:
编程语言 时间:
2014-08-14 14:09:48
阅读次数:
148
There areNintegers in an arrayA. All but one integer occur in pairs. Your task is to find out the number that occurs only once.Input FormatThe first l...
分类:
其他好文 时间:
2014-08-14 13:55:18
阅读次数:
242
1、需求,表 SYS_INFO 的 NAME 字段会重复,按照 创建时间CREATE_AT 字段,取最新一条,其他隐藏SELECT * FROM (SELECT T.*,ROW_NUMBER() OVER(PARTITION BY NAME ORDER BY CREATE_AT DESC) AS ....
分类:
数据库 时间:
2014-08-14 13:38:18
阅读次数:
203
解题报告
题目传送门
题意:
给n个数,每次左移一位,求最小逆序数。
思路:
如果每次左移一位求一次逆序数肯定不行的。
可以知道,每次左移一位,也就是第一个数移到最后一位,逆序数应该减去第一个数以后比第一个数小的个数,再加上比第一个数大的个数。
原本用线段树求出每一位后面比这一位小的个数再用上面的办法求最小逆序数,没有想到每一次移动会导致后面比它本身大的数都要加1。
这题巧妙就在这...
分类:
其他好文 时间:
2014-08-14 10:46:48
阅读次数:
190
题解:因为模比较小,所以一定会产生循环节,所有先计算循环节,然后直接求解。#include int main(){ int a,b,n,f[50]; f[1]=f[2]=1; while(scanf("%d%d%d",&a,&b,&n),a|b|n){ int t1,t2,...
分类:
其他好文 时间:
2014-08-14 10:42:18
阅读次数:
170
这里提供一种方法,使用 APPEND 提示,使得十分钟内插入上亿数据成为可能。-- Create tablecreate table TMP_TEST_CHAS_LEE(f01 VARCHAR2(20),f02 NUMBER(10) not null,f03 VARCHAR2(21),f04 VAR...
分类:
数据库 时间:
2014-08-14 10:40:18
阅读次数:
386
Problem Description
A project manager wants to determine the number of the workers needed in every month. He does know the minimal number of the workers needed in each month. When he hires or fires...
分类:
其他好文 时间:
2014-08-14 01:36:07
阅读次数:
332