#include
#include
int main()
{
int n,t,low,high,i;
char a[10000],s[10000];
scanf("%d",&n);
while(n--)
{
scanf("%s",a);
t=strlen(a);
low=0;
high=0;
for(i=0;i<t;i++)
{
switch(a[i])
...
分类:
其他好文 时间:
2014-11-27 22:06:25
阅读次数:
205
http://developers.linecorp.com/blog/?p=1420http://engineering.docusign.com/articles/redis-sentinel-client-nodejs/From WizNote
分类:
其他好文 时间:
2014-11-26 20:29:14
阅读次数:
171
Types of visual descriptors[edit]
Descriptors are the first step to find out the connection between pixels contained in a digital
image and what humans recall after having observed an image or a ...
分类:
其他好文 时间:
2014-11-25 16:32:32
阅读次数:
293
IntroductionFrom the biopython website their goal is to “make it as easy as possible to use Python for bioinformatics by creating high-quality, reusab...
分类:
编程语言 时间:
2014-11-24 22:19:46
阅读次数:
265
select的 high_priority还是比较有用,在实践中,平均5~6秒提高到3秒========================================================================= 前面的部分主要是聚焦于如何让单独的查询执行的速度更快。MySQ....
分类:
数据库 时间:
2014-11-24 20:44:51
阅读次数:
201
public?class?QuickSearch?{
??
????public?static?int?getMiddle(List<Integer>?list,?int?low,?int?high)?{
??????????Integer?temp?=?list.get(high);???
????????...
分类:
编程语言 时间:
2014-11-24 01:17:18
阅读次数:
217
一、关于MongoDB在众多NoSQL数据库,MongoDB是一个优秀的产品。其官方介绍如下:MongoDB (from "humongous") is a scalable, high-performance, open source, document-oriented database.看起来...
分类:
数据库 时间:
2014-11-22 14:40:10
阅读次数:
274
啦啦啦,周六啦,今天倍开心~ 周末能 High 成 什么样子呢,请看周五 OSCer 都 High 成了什么样 @近卫使者:…… ? ? ? ? ?? 这。。。 周末就应该去散散步,走出深圳~ moli : 今天回深圳了~ 逛来逛去、还...
分类:
其他好文 时间:
2014-11-22 09:24:57
阅读次数:
227
环境:192.168.128.111(ha1.haproxy.org)->CentOS6.364bitsiege2.78
192.168.128.10(n1.web.org)->CentOS6.564bitnginx1.6.2在192.168.128.111上使用siege对192.168.128.10的nginx做压力测试[root@ha1bin]#siege-c6500-r1"
Transactions:5827hits
Availability:89.65%..
分类:
其他好文 时间:
2014-11-21 19:01:28
阅读次数:
260
increment:由Hibernate自动以递增的方式生成标识符,适用于代理主键;identity:由底层数据库生成标识符,适用于代理主键;sequcence:由Hibernate根据底层数据库的序列生成标识符,适用于代理主键;(MySQL不适用)hilo:由Hibernate根据high/low...
分类:
Web程序 时间:
2014-11-21 14:10:09
阅读次数:
168