August 3, 2008
前几天在北极冰仔的博客上看到了一题ACM - the drunk jailer, 突然有兴趣玩玩。 我已经从大学毕业之后就没有再碰过C语言这么个玩意了而已了(除了上次用C语言写了一个google calendar的东东外)
题目如下:
A certain prison contains a long hall of n cells, each right next to each other. Each cell has a prisoner in it, and each cell is locked.
March 24, 2007
今天突然发现了在downthemall!0.9.9.7(modified 2007-03-23)下载中文字的时候突然出现了乱码, 心中奇怪, 然后在查看代码的时候发现一处很弱智的bug, 就是这个bug导致了乱码。 原代码如下:
if(this.referrer == “”)
this.description = dialog.mLauncher.source.originCharset;
else
this.description =”"

