Problem DescriptionLiyuan lives in a old apartment. One day, he suddenly found that there was a wireless network in the building. Liyuan did not know the password of the network, but he got some import...
分类:
其他好文 时间:
2015-06-04 11:49:46
阅读次数:
125
Problem Description
lxhgww got a sequence contains n characters which are all '0's or '1's.
We have five operations here:
Change operations:
0 a b change all characters into '0's in [a , b]
1 a...
分类:
其他好文 时间:
2015-05-30 16:48:47
阅读次数:
126
mysqldump: Got error: 145: Table 'wp_options' is marked as crashed and should be repaired when using LOCK TABLES错误如上所示。今天在给自己的wp网站搬家的时候,导出数据时发现导不出来,报了...
分类:
数据库 时间:
2015-05-25 19:58:36
阅读次数:
993
dig命令详解1.查看域名的A记录 # dig yahoo.com; > DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 > yahoo.com ;; global options: +cmd ;; Got answer: ;; ->>HEADE...
分类:
其他好文 时间:
2015-05-24 17:20:13
阅读次数:
199
Problem DescriptionNow I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more diffic...
分类:
其他好文 时间:
2015-05-22 20:56:22
阅读次数:
123
Problem DescriptionZCC has got N strings. He is now playing a game with Miss G.. ZCC will pick up two strings among those N strings randomly(A string ...
分类:
其他好文 时间:
2015-05-22 00:17:18
阅读次数:
169
数据导入报错:Got a packet bigger than‘max_allowed_packet’bytes的问题2个解决方法:1.临时修改:mysql>set global max_allowed_packet=524288000;修改 #512M2.修改my.cnf,需重启mysql 在 [...
分类:
其他好文 时间:
2015-05-21 12:23:09
阅读次数:
93
Today while i started my Android ADT Eclipse Workspace i got the following error message,Problem Opening WizardThe selected wizard could not be starte...
分类:
移动开发 时间:
2015-05-20 00:11:01
阅读次数:
665
应用程序端碰到错误提示,MySQLNonTransientConnectionException:Got an error writing communication packets。与packet有关,之前一直都没有碰到过这个问题。数据库error日志也未见半点异常,到底是怎么一回事呢?...
分类:
其他好文 时间:
2015-05-19 22:44:28
阅读次数:
213
1. call_?user_?func_?array
调用用户自定义函数,第一个参数是函数名,
第二个参数是函数的参数 必须是是一索引数组
function foobar($arg, $arg2) {
echo __FUNCTION__, " got $arg and $arg2\n";
}
class foo {
function bar($arg, $arg2) {
...
分类:
Web程序 时间:
2015-05-19 16:43:21
阅读次数:
176