You are given an array A of length N and an integer X. You are required to find all the subarrays of minimum length with BITWISE OR greater than or equal to X.
Input format
Output format
For each test case:
In the first line, print count of such subarrays (let it be C). In the next C lines, print all the subarrays (in sorted order).
Note: A subarray can be defined by 2 indexes L and R where L and R are starting and ending indexes of that subarray)
Constraints
1 ≤ T ≤ 3
1 ≤ N ≤ 10^5
0 ≤ A[i] ≤ 10^9
0 ≤ X ≤ 1073741823