#K78052. Calculate Engagement Rate

    ID: 35000 Type: Default 1000ms 256MiB

Calculate Engagement Rate

Calculate Engagement Rate

You are given an integer n representing the number of posts. Each post contains three integers representing the number of likes, comments, and shares respectively. For each post, you need to calculate its engagement rate.

The engagement rate for a post is defined as follows:

$$ ER = \begin{cases} 1.00, & \text{if } (likes + comments + shares) > 0 \\ 0.00, & \text{if } (likes + comments + shares) = 0 \end{cases} $$

Print the engagement rate for each post with exactly two decimal places.

inputFormat

The first line contains an integer n - the number of posts.

Each of the following n lines contains three space-separated integers representing the number of likes, comments, and shares for a post.

outputFormat

For each post, output its engagement rate on a new line. The result should be printed with exactly two decimal places.

## sample
3
10 5 0
1 2 1
2 2 2
1.00

1.00 1.00

</p>