摘要: 吉哥这几天对队形比较感兴趣。 有一天,有n个人按顺序站在他的面前,他们的身高分别是h11, h22 ... hnn,吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则称之为完美队形: 1、挑出的人保持他们在原队形的相对顺序不变; 2、左右对称,假设有m个人形成新的队形, 阅读全文
posted @ 2017-05-04 21:41 aiterator 阅读(253) 评论(0) 推荐(1) 编辑
摘要: You are given two sequences of integer numbers. Write a program to determine their common increasing subsequence of maximal possible length. Sequence 阅读全文
posted @ 2017-05-04 11:46 aiterator 阅读(200) 评论(0) 推荐(0) 编辑