PROBLEM LINK:
Contest Division 1
Contest Division 2
Contest Division 3
Contest Division 4
Setter: lavish_adm
Testers: utkarsh_adm, iceknight1093
Editorialist: hrishik85
DIFFICULTY:
257
PREREQUISITES:
None
PROBLEM:
Chef wants to attend the Masterchef’s classes for X weeks. The cost of classes per week is Y coins. What is the total amount that the Chef will have to pay?
EXPLANATION:
The main objective of this problem is to test the user’s ability to read multiple inputs on different lines.
The total amount to be paid is = (Cost per week x Number of weeks) = X * Y
TIME COMPLEXITY:
Time complexity is O(1).
SOLUTION:
Editorialist's Solution
for _ in range(int(input())):
x,y = map(int,input().split())
print(x*y)