[Solution] Chess Ratings CodeChef Solution | CodeChef Problem Solution 2022
Alice has recently started playing Chess. Her current rating is . She noticed that when she wins a game, her rating increases by points.
Can you help Alice in finding out the minimum number of games she needs to win in order to make
Solution Click Below:- CLICK HERE
her rating greater than or equal to ?
Input Format
- The first line of input will contain an integer — the number of test cases. The description of test cases follows.
- The first line of each test case contains two integers and , as described in the problem statement.
Output Format
For each test case, output the minimum number of games that Alice needs to win in order to make her rating greater than or equal to .
No comments:
Post a Comment