
贪心
贪心思想相关算法题
DeepGoAI
欢迎学习交流!
展开
-
C - Bridging signals
C - Bridging signals'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the routing designers have screwed up completely, making the signals on the chi...原创 2018-12-25 09:45:40 · 242 阅读 · 0 评论 -
D - Copying Books
D - Copying Books Before the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written by hand by so called scribers. The scriber had been given ...翻译 2019-02-21 16:55:36 · 318 阅读 · 0 评论 -
I - CONTINUE...? ZOJ - 4033
I - CONTINUE...?ZOJ - 4033DreamGrid hasclassmates numbered fromto. Some of them are boys and the others are girls. Each classmate has some gems, and more specifically, the-th classmate has...转载 2019-04-08 21:19:02 · 199 阅读 · 0 评论 -
C - Heap Partition ZOJ - 3963
C - Heap PartitionZOJ - 3963A sequenceS= {s1,s2, ...,sn} is calledheapableif there exists a binary treeTwithnnodes such that every node is labelled with exactly one element from the seq...转载 2019-04-09 20:53:35 · 158 阅读 · 0 评论 -
5864: 桃子的长号 -- 台州学院
5864: 桃子的长号http://www.tzcoder.cn/acmhome/problemdetail.do?&method=showdetail&id=5864DescriptionC++课上,老师讲到了映射map,桃子觉得映射很神奇,可以把一个串变成一个数存储,也可以把一堆很大的数字变成很小的数字。为了加深对映射的印象,桃子出了下面这个题:桃子将给你一个长...原创 2019-06-29 13:26:57 · 482 阅读 · 0 评论