You
are given a convex polygon of N vertices. Find how many ways three
vertices can be chosen such that the triangle formed by those has an area not
more than K.
The
first line of input contains T 
For
each test case output one line the number of ways to choose a triangle from the
vertices of the convex polygon whose area is not more than K.
| Sample Input | Output for Sample Input | 
| 1 5 30 -5 -5 -2 -10 3 0 1 7 -2 4 | 7 | 
|  | |
| Problemsetter: | Tasnim Imran Sunny | 
| Special Thanks: | Shahriar Rouf Nafi |