← Back to List
30007번: 라면 공식 ↗
Solutions
Python 3
92 B | 92 chars
for _ in range(int(input())): a, b, x = map(int, input().split()) print(a * (x - 1) + b)