๐2
Problem
Chef appeared for a placement test.
There is a problem worth XX points. Chef finds out that the problem has exactly 1010 test cases. It is known that each test case is worth the same number of points.
Chef passes NN test cases among them. Determine the score Chef will get.
NOTE: See sample explanation for more clarity.
Input Format
First line will contain TT, number of test cases. Then the test cases follow.
Each test case contains of a single line of input, two integers XX and NN, the total points for the problem and the number of test cases which pass for Chef's solution.
Output Format
For each test case, output the points scored by Chef.
Constraints
1 \leq T \leq 1001โคTโค100
10 \leq X \leq 20010โคXโค200
0 \leq N \leq 100โคNโค10
XX is a multiple of 1010.
Sample 1:
Input
Output
4
10 3
100 10
130 4
70 0
3
100
52
0
Chef appeared for a placement test.
There is a problem worth XX points. Chef finds out that the problem has exactly 1010 test cases. It is known that each test case is worth the same number of points.
Chef passes NN test cases among them. Determine the score Chef will get.
NOTE: See sample explanation for more clarity.
Input Format
First line will contain TT, number of test cases. Then the test cases follow.
Each test case contains of a single line of input, two integers XX and NN, the total points for the problem and the number of test cases which pass for Chef's solution.
Output Format
For each test case, output the points scored by Chef.
Constraints
1 \leq T \leq 1001โคTโค100
10 \leq X \leq 20010โคXโค200
0 \leq N \leq 100โคNโค10
XX is a multiple of 1010.
Sample 1:
Input
Output
4
10 3
100 10
130 4
70 0
3
100
52
0
now you can get direct access to my resumes directly through github hosting and soon i will deploy all my projects on github and will host it also so that you can get to know how it all works
click on the link mentioned below and do follow me so that you can get more n more amazing projects https://github.com/aman0990/My-Resume.com/wiki
GitHub
Home ยท aman0990/My-Resume.com Wiki
Resume Aman raj. Contribute to aman0990/My-Resume.com development by creating an account on GitHub.