2017年6月27日 星期二 --出埃及记 Exodus 27:9"Make a courtyard for the tabernacle. The south side shall be a hundred cubits long and is to have curtains of finely ...
分类:
其他好文 时间:
2017-07-15 13:54:39
阅读次数:
120
思路: 构造等差数列的条件: 1、区间内所有数差分的$gcd=x$ 2、区间内$max-min=(r-l)*k$ 3、区间内数字不相同 线段树维护最大值,最小值以及差分。 对于每次询问判断上述三种情况,如果满足则说明可以构成等差数列。 需要特判的情况: 1、$k=0$,此时条件3不需要满足 2、$l ...
分类:
其他好文 时间:
2017-07-15 13:46:48
阅读次数:
154
The problem is about Mr.BG who is a great hunter. Today he has gone to a dense forest for hunting and killing animals. Sadly, he has only one bullet i ...
分类:
其他好文 时间:
2017-07-15 13:46:28
阅读次数:
148
memcached 便宜安装需要依赖 yum -y install libevent-devel php开启memcached的扩展需要依赖libmemcached-devel ./configure --prefix=路径 --enable-64bit make && make install p ...
分类:
系统相关 时间:
2017-07-15 11:25:28
阅读次数:
190
make: *** [sapi/cli/php] 错误 1 #make clean #make 1G 内存阿里云centos编译php5.6时遇到[ext/fileinfo/libmagic/apprentice.lo] Error 1的解决方法 ./configure --disable-file ...
分类:
移动开发 时间:
2017-07-15 10:17:36
阅读次数:
223
1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-curses-libs=/usr/lib/libncursesw.so.5 其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误, ...
分类:
Web程序 时间:
2017-07-15 10:02:20
阅读次数:
170
刚接触到python时,对代码中的_name_='_main_'比较疑惑,本文对其的讲解借鉴了其他博客讲述(见参考资料),希望和大家共同学习。 Make a script both importable and executable 首先先看一个例子 在这段函数中,定义main函数,当py文件被执行 ...
分类:
编程语言 时间:
2017-07-14 23:08:42
阅读次数:
269
系统:centos6.864环境:php5.6.9安装curl分两种情况:第一:当未安装PHP前安装curl扩展安装过程:1、下载curlwgethttps://curl.haxx.se/download/curl-7.54.1.tar.gz2、解压安装tar-zxfcurl-7.54.1.tar.gz./configure--prefix=/usr/local/curl(安装位置)make&makeinstal..
分类:
Web程序 时间:
2017-07-14 20:33:06
阅读次数:
231
wgethttp://pecl.php.net/get/vld-0.11.2.tgztarzxfvld-0.11.2.tgzcdvld-0.11.2whichphpize/usr/bin/phpizefind/-name‘php-config‘/usr/bin/php-config./configure--with-php-config=/usr/bin/php-config--enable-vldecho$?make&&makeinstallll/usr/lib64/php/modules/..
分类:
Web程序 时间:
2017-07-14 20:32:24
阅读次数:
201
/* 小程序报名,生成订单 */ public function make_order(){ if(IS_POST){ $data['openid'] = I('POST.openid'); $data_total = I('POST.data_total'); $data['crsNo'] = '... ...
分类:
微信 时间:
2017-07-14 16:31:15
阅读次数:
612