题目 HDU5692 Snacks Problem Description 百度科技园内有n个零食机,零食机之间通过n?1条路相互连通。每个零食机都有一个值v,表示为小度熊提供零食的价值。 由于零食被频繁的消耗和补充,零食机的价值v会时常发生变化。小度熊只能从编号为0的零食机出发,并且每个零食机至多 ...
分类:
其他好文 时间:
2017-07-31 17:22:58
阅读次数:
186
Centos7用febootstrap制作docker初始镜像包使用工具:febootstrap下载地址:http://down.51cto.com/data/2330414使用命令:febootstrap-ibash-iwget-iyum-iiputils-iiproute-iman-ivim-iopenssh-server-iopenssh-clients-itar-igzipcentos7/tmp/centos-p_w_picpath/http://192...
分类:
其他好文 时间:
2017-07-30 23:46:53
阅读次数:
296
springmvc学习笔记(19)-RESTful支持 标签: springmvc springmvc学习笔记19-RESTful支持 概念 REST的样例 controller REST方法的前端控制器配置 对静态资源的解析 本文介绍RESTful的概念,并通过一个小样例展示怎样编写RESTful ...
分类:
编程语言 时间:
2017-07-30 19:04:31
阅读次数:
213
##搭建集群的时候要学会看日志,日志很重要的,日志真的很重要一、准备工作1.1、服务器配置主机名IP地址Pxc01192.168.1.17Pxc02192.168.1.18Pxc03192.168.1.19源码软件包下载:http://down.51cto.com/data/23304301.2、环境配置注:不能用oracle的mysql进行编译安装,因为mysql..
分类:
数据库 时间:
2017-07-30 18:03:43
阅读次数:
257
SPOJ4491. Primes in GCD Table Problem code: PGCD Johnny has created a table which encodes the results of some operation -- a function of two arguments ...
分类:
其他好文 时间:
2017-07-30 17:05:01
阅读次数:
150
案发现场还原: 安装Nginx时报错 ./configure: error: the HTTP rewrite module requires the PCRE library. 解决办法: yum -y install openssl openssl-devel 总结: yum -y instal ...
分类:
Web程序 时间:
2017-07-30 14:47:00
阅读次数:
222
22 down vote The page Qt for X11 Requirements lists some packages required to build Qt on Debian. The README mentioned in the error message also lists ...
分类:
其他好文 时间:
2017-07-30 11:28:06
阅读次数:
378
查询性能低下的原因是訪问了太多的数据 多表连接时返回了全部的列 select * from sakila.actor inner join sakila.file_actor using(actior_id) inner join sakila.film using(film_id) where s ...
分类:
数据库 时间:
2017-07-29 19:33:56
阅读次数:
230
wget http://download.redis.io/releases/redis-2.8.13.tar.gz cd redis-2.8.13 make PREFIX=/usr/local/redis install cp redis.conf /usr/local/redis/ [root@ ...
分类:
数据库 时间:
2017-07-29 18:14:11
阅读次数:
185
题意:链接 方法:分块以节约空间。 解析: 这题坑的地方就是他仅仅有3M的内存限制,假设我们开longlong前缀和是必死的。 所以考虑缩小这个long long数组的大小。 然后想到分块 最好还是以15为大小进行分块,事实上不T再大一点也行,可是算内存的话15是差点儿相同的吧。 然后记录每一个块内 ...
分类:
其他好文 时间:
2017-07-29 17:17:51
阅读次数:
170