Boboge and Tall Building
题号:NC232078
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
Special Judge, 64bit IO Format: %lld

题目描述

Boboge lives on the n-th floor of a building with a total height of k. This building has m floors and each floor is of equal height, the height of first floor is 0.
You have to calculate the height of the floor Boboge lives in.

Example of n=3, m=4, k=10:



输入描述:

The first line contains an integer  --- the number of test cases.
Each test case is described by three integers --- the floor Boboge lives in, number of total floors and total height of the building.

输出描述:

For each test case, output the height of the floor Boboge lives in. Your answer will be accepted if absolute or relative error does not exceed . Formally, let your answer be a, and the jury's answer be b. Your answer is considered correct if .
示例1

输入

复制
3
3 4 10
1 4 10
2 3 10

输出

复制
5.0000000000
0.0000000000
3.3333333333