시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB79553150668.194%

문제

We will call the distance between any two values on the number line the absolute line distance. Given two values, find the absolute line distance and output it, rounded and formatted to one place of precision.

입력

The first line contains a single positive integer, n, indicating the number of data sets. Each data set is on a separate line and contains two values on the number line, separated by a single space.

출력

The absolute line distance between the two points, rounded to the nearest tenth, and print exactly one decimal digit.

예제 입력 1

3
3 5
8.1 -9
-6.4 -18.34

예제 출력 1

2.0
17.1
11.9