### Relativity Problem Code: RELATIVE

### Read problem statements in Bengali, Mandarin Chinese, Russian, and Vietnamese as well.

In Chefland, the speed of light is , and acceleration due to gravity is .

Find the smallest height (in meters) from which Chef should jump such that during his journey down only under the effect of gravity and independent of any air resistance, he achieves the speed of light and verifies Einstein's theory of special relativity.

Assume he jumps at zero velocity and at any time, his velocity () and depth of descent () are related as

### Input

- The first line contains an integer , the number of test cases. Then the test cases follow.
- Each test case contains a single line of input, two integers , .

### Output

For each test case, output in a single line the answer to the problem. We can show that under the constraints, the answer is an integer.

### Constraints

- divides .

### Subtasks

Subtask #1 (100 points): Original constraints

### Sample Input

```
3
7 1400
5 1000
10 1000
```

### Sample Output

```
140000
100000
50000
```

### Explanation

Test Case : For Chef to achieve the speed of light, the minimum height required is = = meters.

Test Case : For Chef to achieve the speed of light, the minimum height required is = = meters.

## Comments

## Post a Comment

Please give us your valuable feedback