贪心
文章平均质量分 76
我家静静最可爱
每天进步一点~~~
展开
-
Postman Gym - 101201I
DescribeA postman delivers letters to his neighbors in a one-dimensional world. The post office, which contains all of the letters to begin with, is located at x = 0, and there are n houses to whi...原创 2018-05-28 09:56:13 · 354 阅读 · 0 评论 -
POJ 1716 Integer Intervals(贪心or差分约束)
POJ 1716 Integer Intervals(贪心or差分约束)An integer interval [a,b], a < b, is a set of all consecutive integers beginning with a and ending with b. Write a program that: finds the minimal number of ...原创 2018-09-15 10:11:08 · 174 阅读 · 0 评论