| H | Triangle Input: Standard Input Output: Standard Output | 
 | 
 
 
Input starts with an integer T(1 ≤ T ≤ 20000), the number
of test cases. Each test case consists of two integer X and Y(1 ≤ X
≤ Y ≤ 1000000).
 
For each test case, output the number of possible triangles whose side
lengths are between X and Y inclusive.
 
| 5 1
  10 5
  10 5
  15 10
  20 100 400 | 125 55 252 285 3898600   | 
Problemsetter: Abdullah-al-Mahmud