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
Which company to join
Anonymous Poll
79%
Micro strategy
21%
Weaversminds
👍2
Apply here guy's 😊
It's based on c &c++ 🙂 those who are very good they only go in this
3 openings complete FullStack n frontend
3 candidates package on your ability
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