F.A.Qs Home Discuss ProblemSet Status Ranklist Contest 入门OJ LoginRegister 捐赠本站
Notice:祝各位Oier新年快乐,Rp++!
Problem 4995. -- [Usaco2017 Feb]Why Did the Cow Cross the Road

4995: [Usaco2017 Feb]Why Did the Cow Cross the Road

Time Limit: 10 Sec  Memory Limit: 256 MB
Submit: 83  Solved: 45
[Submit][Status][Discuss]

Description

Input

Output

Sample Input

5 4
7
8
6
2
9
2 5
4 9
0 3
8 13

Sample Output

3

HINT

Source

Silver

[Submit][Status][Discuss]

HOME Back