Problem DescriptionAs we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict-increasing order, how many orders that all the trains can ge...
分类:
其他好文 时间:
2015-08-15 16:39:48
阅读次数:
150
1075. PAT Judge (25)The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to ge...
分类:
其他好文 时间:
2015-08-15 16:18:50
阅读次数:
138
http://www.cnblogs.com/xingfuzzhd/archive/2013/11/20/3434408.htmlhttps://www.baidu.com/s?ie=utf-8&f=3&rsv_bp=1&rsv_idx=1&tn=99065014_hao_pg&wd=java%20...
分类:
其他好文 时间:
2015-08-15 01:26:33
阅读次数:
119
ubuntu12.04开机黑屏解决方法实验一:排除硬件故障光盘启动,一切正常,说明不是硬件的问题,顺便检查了硬盘没有问题。实验二:排除版本启动时按 shift 键出现grub菜单。选择其他内核版本启动,仍然黑屏。实验三:查看错误提示在显示grub菜单的时候,按 e ,可以调整内核启动的参数,把 qu...
分类:
系统相关 时间:
2015-08-13 22:01:33
阅读次数:
161
每首只能唱一次,而且中间不能不唱歌,所以先把状态赋值为-1,以区别合法状态和非法状态,在唱歌曲目最多的条件下,离开时间应该尽量晚。状态定f[c]表示唱歌时间为c的最大唱歌曲目#includeusing namespace std;const int maxn = 55;const int maxt ...
分类:
其他好文 时间:
2015-08-13 11:35:30
阅读次数:
131
1 letters=range('A','Z',1);23 $this->php_excel=new PHPExcel();24 $this->php_excel->setActiveSheetIndex(0);25 $this->active_sheet=$this->php_excel->ge....
分类:
Web程序 时间:
2015-08-13 01:04:03
阅读次数:
173
1. EL关系运算符:关系运算符说明范例结果== 或 eq等于${5==5}或${5eq5}true!= 或 ne不等于${5!=5}或${5ne5}false 或 gt大于${3>5}或{3gt5}false= 或 ge大于等于${3>=5}或${3ge5}false表达式语言不仅可在数字与数字之...
分类:
其他好文 时间:
2015-08-12 23:11:41
阅读次数:
221
优先级队列#include#include#include#include#includeusing namespace std;int n;int main(){ while(~scanf("%d",&n)) { int tot=0; priority_qu...
分类:
其他好文 时间:
2015-08-12 21:32:17
阅读次数:
144
lucene只是一个负责全文检索的库,仅仅支持纯文本的搜索和索引。lucene的全过程包含索引创建和检索两个部分。被索引的文档用Document对象表示。IndexWriter通过函数addDocument将文档添加到索引中,实现创建索引的过程。Lucene的索引是应用反向索引。当用户有请求时,Qu...
分类:
Web程序 时间:
2015-08-12 19:04:24
阅读次数:
130
一、OpenSSL工具管理证书OpenSSL 是一个强大的安全套接字层密码库,包括了加密算法,常用密钥和证书管理,SSL协议等功能。OpenSSL提供的命令非常多,这里只简单列出OpenSSL生成密钥和证书的一些操作(Window需要以管理员身份运行cmd):生成PEM格式的密钥openssl ge...
分类:
其他好文 时间:
2015-08-11 23:16:22
阅读次数:
150