摘要: 有一个木匠,造一手好门,他费了好多时日给自家造了一扇门,他想这门用料实在,做工精良,一定会经久耐用。   后来,门上的钉子锈了,掉下一块板,木匠找出一颗钉子补上,门又完好如初。后来又掉下一颗钉子,木匠就又换上一颗钉子;后来有一块板朽了,木匠就又找出一块板换上;后来门闩坏了,木匠就又换了一个门闩;再后来门轴坏了,木匠就又换了一个门轴……  于是若干年后,这扇门虽经无数次破损,... 阅读全文
posted @ 2010-03-02 14:43 灰鸽子 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 一、 OJ结果代码:1. const int OJ_WAIT = 0; //OK 等待 waiting[1]2. const int OJ_Judging[2]3. const int OJ_AC = 1; //OK 接受 accepted[3]4. const int OJ_PE = 2; //OK 格式错误? Presentation error[4]5. const int OJ_TLE =... 阅读全文
posted @ 2010-03-02 14:26 灰鸽子 阅读(1251) 评论(1) 推荐(0) 编辑
摘要: Playing with ptrace, Part IUsing ptrace allows you to set up system call interception and modification at the user level.by Pradeep PadalaHave you ever wondered how system calls can be intercepted? Ha... 阅读全文
posted @ 2010-03-02 14:17 灰鸽子 阅读(409) 评论(0) 推荐(0) 编辑