You are given two integers, a and b. Return the quotient after dividing a by b.
You cannot use the multiplication, division or modulo operator.
a: 15
b: 4
quotient: 3
The first line contains an integer âTâ denoting the number of test cases.
For each test case, the input has a line with two space-separated integers a and b.
For each test case, the output has one line containing the result.
3
15 4
6 2
15 -4
3
3
-3
1 <= T <= 10000
-109 <= a,b <= 109
b != 0