2012年8月31日

回文串 poj 1159

摘要: PalindromeTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 43607Accepted: 14862DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, given a string, determines the minimal number 阅读全文

posted @ 2012-08-31 09:10 yumao 阅读(420) 评论(0) 推荐(0) 编辑

最长公共子序列 poj1458

摘要: Common SubsequenceTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 30423Accepted: 11856DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another sequence Z = < z1, z2, ..., zk > 阅读全文

posted @ 2012-08-31 09:03 yumao 阅读(1271) 评论(0) 推荐(0) 编辑

导航