简单数据结构
文章平均质量分 91
chat_c
这个作者很懒,什么都没留下…
展开
-
Matrix Chain Multiplication UVA 442(栈+表达式求值)
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. H原创 2016-02-09 23:04:12 · 424 阅读 · 0 评论 -
Rails UVA 514(栈模拟,水题)
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to e原创 2016-02-04 23:19:50 · 744 阅读 · 0 评论 -
poj 3253 Fence Repair(贪心+优先队列)
Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 36179 Accepted: 11729DescriptionFarmer John wants to repair a small length of the fence around the pasture. He mea原创 2016-03-13 00:13:29 · 1499 阅读 · 0 评论 -
poj 2431 Expedition(优先队列+贪心)(北邮新生赛2016H)
Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10700 Accepted: 3117DescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungl原创 2016-03-12 23:22:59 · 670 阅读 · 0 评论