Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website ๐Ÿ˜Š
Still working on it ๐Ÿ˜Š
Download Telegram
3 openings package according to ability
Apply here
That's called experience ๐Ÿ‘ป
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
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