P2970 [USACO09DEC] Selfish Grazing S

题目描述

Each of Farmer John's N (1

输入格式

\* Line 1: A single integer: N \* Lines 2..N+1: Line i+1 contains the two space-separated integers: S\_i and E\_i

输出格式

\* Line 1: A single integer representing the maximum number of cows that can graze at once.