
ACM
文章平均质量分 92
perye
记录个人研发过程中的常用技术、应用场景、问题的解决方案,如有错误欢迎指正,如有侵权,请联系删除
展开
-
[ACM] POJ 1068 Parencodings
ParencodingsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 19352 Accepted: 11675DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways...原创 2018-02-28 18:18:08 · 252 阅读 · 0 评论 -
[ACM] POJ 1442 Black Box (堆,优先队列)
Black BoxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7099 Accepted: 2888DescriptionOur Black Box represents a primitive database. It can save an integer array and has a special i variabl...原创 2018-02-28 18:25:42 · 266 阅读 · 0 评论 -
[ACM] POJ 3253 Fence Repair (Huffman树思想,优先队列)
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 25274 Accepted: 8131DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures the fence a...原创 2018-02-28 18:27:06 · 344 阅读 · 0 评论 -
[ACM] POJ 3687 Labeling Balls (拓扑排序,逆向建边)
Labeling BallsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10161 Accepted: 2810DescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with 1 t...原创 2018-02-28 18:28:14 · 284 阅读 · 0 评论