摘要: 转载请注明来源,并包含相关链接。http://www.cnblogs.com/yjiyjige/p/3263858.html 网上有很多讲解KMP算法的博客,我就不浪费时间再写一份了。直接推荐一个当初我入门时看的博客吧:http://www.cnblogs.com/yjiyjige/p/326385 阅读全文
posted @ 2015-12-08 11:42 zhaop 阅读(169) 评论(0) 推荐(0) 编辑
摘要: ctr +C 强制终止当前的命令ctr +L清屏ctr +U删除或剪切光标之前的命令ctr +Y 粘贴剪切的内容ctr +D 退出终端ctr +R在历史命令中搜索输出重定向(能输出的)命令 > 文件会覆盖 换成>>就不会覆盖命令 2> 文件 把错误信息写入;;连接多个命令命令1 && 命令2 表示命... 阅读全文
posted @ 2015-12-07 23:46 zhaop 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Going HomeTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3666Accepted Submission(s): 1884Problem... 阅读全文
posted @ 2015-12-07 22:48 zhaop 阅读(196) 评论(0) 推荐(0) 编辑
摘要: SudokuTime Limit:2000MSMemory Limit:65536KTotal Submissions:16444Accepted:8035Special JudgeDescriptionSudoku is a very simple task. A square table wit... 阅读全文
posted @ 2015-12-06 20:01 zhaop 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 详解:http://www.ahalei.com/thread-5028-1-2.html 1 //删除堆顶之后把最后一个移到堆顶在调整,慢 2 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 ... 阅读全文
posted @ 2015-12-05 20:57 zhaop 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Sliding WindowTime Limit:12000MSMemory Limit:65536KTotal Submissions:49919Accepted:14391Case Time Limit:5000MSDescriptionAn array of sizen≤ 106is give... 阅读全文
posted @ 2015-12-04 19:35 zhaop 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Power NetworkTime Limit:2000MSMemory Limit:32768KTotal Submissions:25832Accepted:13481DescriptionA power network consists of nodes (power stations, co... 阅读全文
posted @ 2015-12-04 16:50 zhaop 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Drainage DitchesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13273Accepted Submission(s): 6288P... 阅读全文
posted @ 2015-12-03 23:46 zhaop 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Parity gameTime Limit:1000MSMemory Limit:65536KTotal Submissions:7288Accepted:2833DescriptionNow and then you play the following game with your friend... 阅读全文
posted @ 2015-12-03 23:21 zhaop 阅读(130) 评论(0) 推荐(0) 编辑
摘要: The Accomodation of StudentsTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4091Accepted Submissio... 阅读全文
posted @ 2015-12-01 23:33 zhaop 阅读(178) 评论(0) 推荐(0) 编辑