Problem2812--二分算法练习 - 毒匕首

2812: 二分算法练习 - 毒匕首

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

4
2 5
1 5
3 10
2 4 10
5 3
1 2 4 5 7
4 1000
3 25 64 1337

Sample Output Copy

3
4
1
470

Source/Category