早就听说了Python语言,今天试了试,挺喜欢她了。Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32Type "copyright", "credits" or ...
分类:
编程语言 时间:
2015-01-09 00:06:22
阅读次数:
259
当系统开启safe_mode和 open_basedir,在程序中使用以下语句curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);并且遇到301,302状态吗时会出现错误[11-Oct-2010 14:17:41] PHP Warning: curl_seto...
分类:
其他好文 时间:
2015-01-05 16:28:49
阅读次数:
113
[05/Oct/2014:20:50:37 +0800] - ERROR - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error calloc of 9420 bytes failed; errno 12The serv...
分类:
其他好文 时间:
2015-01-01 01:23:10
阅读次数:
255
1643: [Usaco2007 Oct]Bessie's Secret Pasture 贝茜的秘密草坪Time Limit:5 SecMemory Limit:64 MBSubmit:268Solved:223[Submit][Status]Description农夫约翰已经从他的牧场中取得了数不...
分类:
其他好文 时间:
2014-12-17 22:27:56
阅读次数:
176
1668: [Usaco2006 Oct]Cow Pie Treasures 馅饼里的财富Time Limit:3 SecMemory Limit:64 MBSubmit:498Solved:289[Submit][Status]Description最近,奶牛们热衷于把金币包在面粉里,然后把它们烤...
分类:
其他好文 时间:
2014-12-16 00:50:54
阅读次数:
219
1602: [Usaco2008 Oct]牧场行走Time Limit:5 SecMemory Limit:64 MBSubmit:1211Solved:616[Submit][Status]DescriptionN头牛(2nil do 34 begin 3...
分类:
其他好文 时间:
2014-12-14 21:16:38
阅读次数:
302
1601: [Usaco2008 Oct]灌水Time Limit:5 SecMemory Limit:162 MBSubmit:1342Solved:881[Submit][Status]DescriptionFarmer John已经决定把水灌到他的n(1x do dec(j);22 ...
分类:
其他好文 时间:
2014-12-14 21:08:29
阅读次数:
213
Problem Description输入无符号短整数k[hex.]和p[oct.],将k的高字节作为结果的低字节,p的高字节作为结果的高字节组成一个新的整数。Inputk[hex.]和p[oct.]Output操作得到的新的整数n.Sample Input0xd9 01117Sample Outp...
分类:
编程语言 时间:
2014-12-12 14:51:36
阅读次数:
819
Date对象1.创建:1 //方式一:使得oDate成为日期对象,以当前时间默认初始化2 var oDate = new Date();3 4 //方式二5 var pDate = new Date(2000,1,1);//2000年1月1日6 var qDate = new Date(Oct 1,...
分类:
Web程序 时间:
2014-12-08 02:01:37
阅读次数:
205
现网服务,每次更新一个服务时,另外一个集群所有node 都跟着同时重启一遍,这么调皮,这是闹哪样啊。。 看系统日志:/var/log/messages Oct 30 15:19:41 localhost kernel: beam.smp[21880]: segfault at 7fa300...
分类:
其他好文 时间:
2014-12-07 11:20:56
阅读次数:
363