BIT / Offline

For each k-query (i, j, k), print the number of elements greater than k in the range I to J