通过学习Lucene3.5.0的doc文档,对不同release版本号 lucene版本号的API修改做分析。最后找到了有价值的修改信息。LUCENE-2302: Deprecated TermAttribute and replaced by a new CharTermAttribute. Th...
分类:
其他好文 时间:
2014-07-22 00:36:33
阅读次数:
258
UVA 10689 - Yet another Number Sequence
题目链接
题意:斐波那契给前两项,求出第n项,并保留m位
思路:挺裸的矩阵快速幂,就是取模的值是10^m
代码:
#include
#include
const int mod[5] = {0, 10, 100, 1000, 10000};
int t, a, b, n, m;
s...
分类:
其他好文 时间:
2014-07-22 00:31:37
阅读次数:
279
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-07-22 00:28:38
阅读次数:
209
代码如下:
Tabs
/* Remove margin padding */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td { margin:0; padding:0; }
/* Default Font...
分类:
其他好文 时间:
2014-07-22 00:16:33
阅读次数:
316
代码如下:
/*
这以下是重置样式
Remove margin padding */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td { margin:0; padding:0; }
/*...
分类:
移动开发 时间:
2014-07-22 00:15:36
阅读次数:
361
最近在做通信网络相关的仿真,今天拿到了一些别人仿真的代码来学习,其中看到了一个double Lambda[T_Node_Number][M][Low_iteration];的参数,注释写着拉格朗日乘子式。本来对于这个名词感觉很陌生,后来查了一些资料,才回忆起这似乎是大一高数曾经学过的知识,经查书.....
分类:
其他好文 时间:
2014-07-22 00:06:34
阅读次数:
269
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2014-07-21 16:44:12
阅读次数:
191
1. 下载 JDBC 驱动(sqljdbc4.jar)2. 在 run-time setting 下的 classpath 把 JDBC 驱动引入 1 /* 2 * LoadRunner Java script. (Build: _build_number_) 3 * 4 * Script ...
分类:
数据库 时间:
2014-07-21 14:20:46
阅读次数:
269
database 概况信息检查 # 检查 database 基本信息 select * from v$version; select name ,open_mode,log_mode from v$database; select instance_number,instance_name ,status from gv$instance; show paramete...
分类:
数据库 时间:
2014-07-21 13:19:23
阅读次数:
339
#include
#include
int main()
{
int num1,num2;
int *num1_p=&num1,*num2_p=&num2,*pointer;
printf("Input the first number:");
scanf("%d",num1_p);
printf("Input the second num...
分类:
其他好文 时间:
2014-07-21 11:14:14
阅读次数:
180