[Solution] Biryani classes CodeChef Solution | CodeChef Problem Solution 2022
According to a recent survey, Biryani is the most ordered food. Chef wants to learn how to make world-class Biryani from a MasterChef. Chef will be required to attend the MasterChef's classes for weeks, and the cost of classes per week is coins. What is the total amount of money that Chef will have to pay?
Input Format
- The first line of input will contain an integer — the number of test cases. The description of test cases follows.
- The first and only line of each test case contains two space-separated integers and , as
Solution Click Below:- CLICK HERE
- described in the problem statement.
Output Format
For each test case, output on a new line the total amount of money that Chef will have to pay.
No comments:
Post a Comment