差分约束
Charon_HN
NLP炼丹儿
展开
-
POJ 3169 差分约束
Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1..N standing along a straight line waiting for feed. The cows are s...原创 2018-09-02 16:36:46 · 132 阅读 · 0 评论 -
POJ 1716 区间集合的差分约束
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 elements in a set containing at least t...原创 2018-09-02 20:37:18 · 220 阅读 · 0 评论