#SDNU1494. Problem_C
Problem_C
Description
ChaoChao, a lonely boy, has bought a Galaxy Note 7 and wants to destroy cities.
There are cities numbered on a line and each pair of adjacent cities has distance 1. Galaxy Note 7 has its explosion radius .
ChaoChao puts her Galaxy Note 7 in city and city will be destroyed if .You must tell ChaoChao how many cities wil be destroyed.(viva Flaming Fire Force!!!)
Format
Input
The first line contains a positive integer , the number of test cases.
Each of the following T lines contains three integers .
,,
Output
lines.Each line contains one integer, the answer.
Samples
3
100 5 23
100 8 36
100 9 99
11
17
11