栈和队列
文章平均质量分 80
Sun_AC
充电中……
展开
-
HDU1022栈的简单应用
Train Problem ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19538 Accepted Submission(s): 7324Problem DescriptionAs the new原创 2014-06-20 20:20:01 · 587 阅读 · 0 评论 -
poj 3253 Fence Repair(Huffman问题,优先队列priority_queue)
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 24644 Accepted: 7923DescriptionFarmer John wants to repair a small length of the fence aro原创 2014-06-26 16:12:57 · 794 阅读 · 0 评论 -
栈和队列的简单讲解和函数用法
注:本文转载自互联网,有改动,感谢作者zgh1988的整理!以STL中Queue和Stack为例: 1.Queue和Stack的特点Queue支持的操作: queue void push(int elem) //向队列中添加元素 void pop()原创 2014-07-01 10:40:38 · 1835 阅读 · 0 评论 -
HDU 1702简单的栈和队列
ACboy needs your help again!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3024 Accepted Submission(s): 1573Problem DescriptionA原创 2014-06-20 16:33:02 · 736 阅读 · 0 评论