摘要: Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, 阅读全文
posted @ 2018-04-21 16:15 霜雪千年 阅读(182) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2059 Problem Description 据说在很久很久以前,可怜的兔子经历了人生中最大的打击——赛跑输给乌龟后,心中郁闷,发誓要报仇雪恨,于是躲进了杭州下沙某农业园卧薪尝胆潜心修炼,终于练成了绝技 阅读全文
posted @ 2018-04-21 11:56 霜雪千年 阅读(572) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 using namespace std; 4 #define OK 1 5 #define ERROR 0 6 #define OVERFLOW -2 7 #define MAXQSIZE 100 8 typedef int QElemType; 9 typedef int Status; 10 typedef... 阅读全文
posted @ 2018-04-21 09:50 霜雪千年 阅读(1010) 评论(0) 推荐(0)