Chef wants to gift C chocolates to Botswal on his birthday. However, he has only X chocolates with him.  
The cost of 1 chocolate is Y rupees. 

Find the minimum money in rupees Chef needs to spend so that he can gift C chocolates to Botswal.

------ Input Format ------ 

- First line will contain T, number of test cases. Then the test cases follow.
- Each test case contains of a single line of input, three integers C, X, and Y.

------ Output Format ------ 

For each test case, output in a single line answer, the minimum money in rupees Chef needs to spend.

------ Constraints ------ 

$1 ≤ T ≤ 100$
$1 ≤ C ≤ 100$
$0 ≤ X ≤ C$
$1 ≤ Y ≤ 100$

----- Sample Input 1 ------ 
2
7 5 5
10 1 1
----- Sample Output 1 ------ 
10
9
----- explanation 1 ------ 
Test Case $1$: Chef has to gift a total of $7$ chocolates out of which he has $5$ chocolates. Thus, Chef needs to buy $2$ more chocolates, which costs him $10$ rupees.

Test Case $2$: Chef has to gift a total of $10$ chocolates out of which he has $1$ chocolate. Thus, Chef needs to buy $9$ more chocolates, which costs him $9$ rupees.

Difficulty: EASY

Solutions:
a = int(input())
for i in range(a):
	(b, c, d) = [int(x) for x in input().split()]
	print((b - c) * d)


t = int(input())
for i in range(t):
	(x, y, z) = map(int, input().split(' '))
	print((x - y) * z)


n = int(input())
for i in range(n):
	(a, b, c) = map(int, input().split())
	res = (a - b) * c
	print(res)


for i in range(int(input())):
	(C, X, Y) = map(int, input().split())
	bal = C - X
	print(Y * bal)


t = int(input())
for ts in range(t):
	(x, y, z) = map(int, input().split(' '))
	if x == y:
		print('0')
	elif x >= y:
		print((x - y) * z)


t = int(input())
for i in range(t):
	(c, x, y) = list(map(int, input().split()))
	r = c - x
	re = r * y
	print(re)


t = int(input())
for i in range(t):
	(c, x, y) = [int(x) for x in input().split()]
	print((c - x) * y)


for _ in range(int(input())):
	(c, x, y) = list(map(int, input().split()))
	print((c - x) * y)


for i in range(int(input())):
	(c, x, y) = map(int, input().split())
	print((c - x) * y)


T = int(input())
for i in range(T):
	(C, X, Y) = map(int, input().split())
	money_for_chocolate = (C - X) * Y
	print(money_for_chocolate)


t = int(input())
for i in range(0, t):
	(c, x, y) = map(int, input().split())
	res = (c - x) * y
	print(res)


for _ in range(int(input())):
	(a, b, c) = map(int, input().split())
	print((a - b) * c)


for _ in range(int(input())):
	(c, x, y) = map(int, input().split())
	r = c - x
	p = y * r
	print(p)


t = int(input())
while t:
	(c, x, y) = map(int, input().split())
	print((c - x) * y)
	t -= 1


x = int(input())
for i in range(x):
	(a, b, c) = map(int, input().split())
	need = a - b
	print(need * c)


for i in range(int(input())):
	(C, X, Y) = map(int, input().split())
	if C <= X:
		print('0')
	else:
		print((C - X) * Y)


def money(c, x, y):
	if c > x:
		return (c - x) * y
	else:
		return 0
t = int(input())
for i in range(t):
	(c, x, y) = map(int, input().split())
	print(money(c, x, y))


t = int(input())
for i in range(t):
	(c, x, y) = map(int, input().split())
	a = c - x
	b = a * y
	print(b)


def choc(c, x, y):
	z = c - x
	return z * y
t = int(input())
for i in range(1, t + 1):
	(c, x, y) = map(int, input().split())
	res = choc(c, x, y)
	print(res)


T = int(input())
for i in range(0, T):
	(x, y, z) = map(int, input().split())
	a = x - y
	p = a * z
	print(p)


T = int(input())
for tc in range(T):
	(c, x, y) = map(int, input().split())
	print((c - x) * y)


for _ in range(int(input())):
	l = list(map(int, input().split()))
	print((l[0] - l[1]) * l[2])


t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	k = a - b
	print(k * c)


for i in range(int(input())):
	(a, b, c) = list(map(int, input().split()))
	d = a - b
	print(d * c)


t = int(input())
for _ in range(t):
	(n, x, y) = map(int, input('').split())
	print((n - x) * y)


n = int(input())
for i in range(n):
	(p, q, r) = map(int, input().split())
	a = p - q
	b = a * r
	print(b)


for t in range(int(input())):
	(c, x, y) = map(int, input().split())
	print((c - x) * y)


T = int(input())
for i in range(T):
	(a, b, c) = list(map(int, input().split()))
	x = a - b
	print(x * c)


t = int(input())
for i in range(t):
	(c, x, y) = map(int, input().split())
	if c > x:
		k = c - x
		print(k * y)
	else:
		print(0)


for T in range(int(input())):
	(C, X, Y) = map(int, input().split())
	chocRemaining = C - X
	print(chocRemaining * Y)


T = int(input())
for i in range(T):
	(C, X, Y) = map(int, input().split())
	A = C - X
	B = Y * A
	print(B)


n = int(input())
for i in range(n):
	(a, b, c) = map(int, input().split())
	e = a - b
	d = e * c
	print(d)


for i in range(int(input())):
	(a, b, c) = map(int, input().split())
	diff = a - b
	m = diff * c
	print(m)


for l in range(int(input())):
	(c, x, y) = map(int, input().split())
	nun = c - x
	print(y * nun)


t = int(input())
for i in range(t):
	(C, X, Y) = list(map(int, input().split()))
	a = (C - X) * Y
	print(a)


t = int(input())
while t > 0:
	(c, x, y) = [int(x) for x in input().split()]
	r = (c - x) * y
	print(r)
	t -= 1


t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	ans = abs(a - b)
	res = ans * c
	print(res)


t = int(input())
for i in range(t):
	(c, x, y) = list(map(int, input().split()))
	f = c - x
	print(f * y)


for i in range(int(input())):
	l1 = [int(x) for x in input().split()]
	print((l1[0] - l1[1]) * l1[2])