Given Q queries, with each query consisting of two integers L and R, the task is to find the total numbers between L and R (Both inclusive), having atmost two set bits in their binary representation.

Q<=10^5

L,R<=10^18

Question link: https://practice.geeksforgeeks.org/problems/the-range-query/0