摘要: 成员函数:empty()判断队列空,当队列空时,返回true。size()访问队列中的元素个数。push()会将一个元素置入queue中。front()会返回queue内的第一个元素(也就是第一个被置入的... 阅读全文
posted @ 2017-07-24 15:13 让你一生残梦 阅读(134) 评论(0) 推荐(0) 编辑
摘要: subjectGiven is an ordered deck of n cardsnumbered 1 to n with card 1 at the top and card n at the bot... 阅读全文
posted @ 2017-07-24 15:02 让你一生残梦 阅读(119) 评论(0) 推荐(0) 编辑