ajax 中文乱码 Firefox 正常,IE 有问题是解决办法 data:{"name":name,"number":number,"cardNumber":cardNumber,"t":newDate().getTime()},采用这种方式传参。 contentType:"applicati.....
分类:
其他好文 时间:
2014-08-14 19:44:49
阅读次数:
137
KiKi's K-Number
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2603 Accepted Submission(s): 1202
Problem Description
For the k-...
分类:
其他好文 时间:
2014-08-14 16:47:38
阅读次数:
237
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