摘要: Seek the Name, Seek the Fame Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20198 Accepted: 10515 Description The little cat is so famous, 阅读全文
posted @ 2017-08-03 22:54 #忘乎所以# 阅读(145) 评论(0) 推荐(0)
摘要: 给出两个字符串A B,求A与B的最长公共子序列(子序列不要求是连续的)。 比如两个串为: abcicba abdkscab ab是两个串的子序列,abc也是,abca也是,其中abca是这两个字符串最长的子序列。 Input 第1行:字符串A 第2行:字符串B (A,B的长度 <= 1000) Ou 阅读全文
posted @ 2017-08-03 10:13 #忘乎所以# 阅读(572) 评论(0) 推荐(0)
摘要: B. Petya and Exam time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It's hard times now. T 阅读全文
posted @ 2017-08-03 09:57 #忘乎所以# 阅读(334) 评论(0) 推荐(0)