P2980 [USACO10FEB] Covering the Corral G
题目描述
The cows are so modest they want Farmer John to install covers around the circular corral where they occasionally gather. The corral has circumference C (1
输入格式
\* Line 1: Two space-separated integers: C and M
\* Lines 2..M+1: Line i+1 contains two space-separated integers: x\_i and l\_i
输出格式
\* Line 1: A single integer that is the minimum number of segments required to cover all segments of the circumference of the corral