![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POJ贪心
briup_acmer
这个作者很懒,什么都没留下…
展开
-
POJ3253 Fence Repair(huffman)
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 24934 Accepted: 8025DescriptionFarmer John wants to repair a small length of the fence aroun原创 2014-07-09 23:07:48 · 461 阅读 · 0 评论 -
POJ 3617 Best Cow Line(贪心)
给你一个字符串,每次两种操作将字符串重组,字典序最小。将第一个字符加在新字符串尾部将最后一个字符加在新串尾部从前从后比较两个字符串字典序,选择小的第一个字符添加到新串尾部,反复如此。相同时随便选一个。不能够简单比较第一个字符。Best Cow LineTime Limit: 1000MS Memory Limit: 65536K原创 2014-07-10 10:24:37 · 432 阅读 · 0 评论