The bomb war

Time Limit: 10000/5000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)

Problem Description

Input

Output

Sample Input

2
0
1 10
5 5
1
1 1
2 10
0 0
2 2

Sample Output

Yes

No 1 1
Yes

Source

buaads

Manager

Information
Solved Number8
Submit Number30
Problem Tags
binary search
sortings
No tag edit access
温馨提示:AC后可以编辑标签哦. ^-^
Login
LoginCancel