又一次因为一个小错误,POJ上Wrong Answer了无数次。。。。。在差不多要放弃的时候,发现了这个猥琐的不能再猥琐的bug,改完了提交就AC了,简直无语。。。。本题wo采用模拟方法: 1 #include 2 #include 3 #include 4 using namespace std;...
分类:
其他好文 时间:
2014-12-30 20:28:42
阅读次数:
201
1、参考:http://paulgraham.com/ecw.html2、有触动的话:When experts are wrong, it's often because they're experts on anearlier version of the world.The winds of c...
分类:
其他好文 时间:
2014-12-25 20:09:22
阅读次数:
118
Debugging in Code 有两个调试layout问题的阶段。1. Map from “this view is in the wrong place” to “this constraint (or these constraints) is (are) incorrect.” 2. Ma...
分类:
其他好文 时间:
2014-12-25 17:52:51
阅读次数:
186
1、assert.throws(block, [error], [message]):assert.throws( function(){ throw new Error('wrong'); }, Error);//通过assert.throws( functi...
How to monitor Linux UDP buffer available space? You are trying to solve the wrong problem. UDP is?unreliable?communication, period. If packet loss is a problem for you, you should either impleme...
分类:
系统相关 时间:
2014-12-17 19:08:00
阅读次数:
258
最后一天,漫天飘起了雪花,假装欢送我离去。这次WF之战不太顺利,早期的C题大概花了1秒钟构思,然而由于输出格式多了一个空格直到两个半小时才逃脱Wrong Answer的纠缠。还好lynncui在期间独挡一面过掉D。最终成绩不好,然而没有遗憾,从不遗憾。相比之下,来自全球的队伍让我看到了很强大的实力,...
分类:
其他好文 时间:
2014-12-13 19:22:29
阅读次数:
448
Do not modify the R class. The error means there's something syntactically wrong with your XML layouts and R cannot be auto-generated. Try looking the...
分类:
其他好文 时间:
2014-12-12 14:49:32
阅读次数:
195
1、 安装增强功能报错:Building the main Guest Additions module [失败](Look at /var/log/vboxadd-install.log to find out what went wrong)查看vboxadd...
分类:
其他好文 时间:
2014-12-12 10:06:33
阅读次数:
210
#!/bin/bashfunction isIp(){ IP=$1 if [ `echo $IP | awk -F . '{print NF}'` -ne 4 ];then echo "Wrong IP!" exi...
分类:
系统相关 时间:
2014-12-09 19:32:07
阅读次数:
423
装ez_setup时,遇到了问题,报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position ordinal not in range(128) Something went wrong during the in....
分类:
编程语言 时间:
2014-12-08 15:22:33
阅读次数:
169