![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
差分约束
CatDsy
一只慵懒的喵
展开
-
HDU 1384 Intervals(差分约束)
problem You are given n closed, integer intervals [ai, bi] and n integers c1, …, cn. Write a program that: reads the number of intervals, their endpoints and integers c1, …, cn from the st...原创 2018-07-30 10:14:38 · 245 阅读 · 0 评论 -
HDU3592 World Exhibition
problem Nowadays, many people want to go to Shanghai to visit the World Exhibition. So there are always a lot of people who are standing along a straight line waiting for entering. Assume that the...原创 2018-07-30 10:40:46 · 282 阅读 · 0 评论 -
HDU1531(差分约束)
King Once, in one kingdom, there was a queen and that queen was expecting a baby. The queen prayed: “If my child was a son and if only he was a sound king.” After nine months her child was born, a...原创 2018-07-31 09:15:45 · 246 阅读 · 0 评论 -
HDU 3666 (差分约束)
Probelm You have been given a matrix C N*M, each element E of C N*M is positive and no more than 1000, The problem is that if there exist N numbers a1, a2, … an and M numbers b1, b2, …, bm, which ...原创 2018-07-31 09:45:41 · 330 阅读 · 0 评论