Xjj's Touching Value
题号:NC216201
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Given three integers , , , we define Xjj's touching value function as follows:

Please calculate the maximum value of the function.

输入描述:

The first line of the input contains an integer , denoting the number of test cases. 

In each test case, there are three integers and in one line.

输出描述:

For each test case, output the maximum value of the function in the form of the simplest fraction.
示例1

输入

复制
2
1 1 3
-1 -1 5

输出

复制
1
-3/16

备注:

6/5, 2, -3/5 are simple fractions, but 2/1, 10/5, 1/1, 3/-5 not.