The very first line of input contains an integer ‘T’ denoting the number of test cases.
The first and the only line of every test case contains two space-separated positive integers ‘M’ and ‘N’.
For each test case, print the result obtained after multiplying these two numbers.
The result can be very large. So, print the answer modulo 1000000007.
You do not need to print anything, it has already been taken care of. Just return the result.
1 <= T <= 10
1 <= M, N <= 10^8
Time Limit: 1 sec
Mario And His Princess
Check whether K-th bit is set or not
Check whether K-th bit is set or not
Check whether K-th bit is set or not
Check whether K-th bit is set or not
Check whether K-th bit is set or not
Check whether K-th bit is set or not
Maximum Element
XOR DARE
8-Queen Problem