摘要: http://hi.baidu.com/735612658gfy/blog/item/f88114d526dc39bdcc1166db.html http://acm.uestc.edu.cn/bbs/read.php?tid=3258 回文串可以分为两种情况,一种是长度为奇数如abcba,另一种是 阅读全文
posted @ 2012-03-23 15:11 pcoda 阅读(276) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4162 可参看百度文库 周源(最小表示法)http://wenku.baidu.com/view/0e1a6013a216147917112820.html 题目大意:找出字典序中最小的排列 若通过枚举,绝对超时, 阅读全文
posted @ 2012-03-23 15:09 pcoda 阅读(194) 评论(0) 推荐(0) 编辑