A Vector Problem

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Problem type

Given a three-dimensional vector's components, find the magnitude of the vector.

Input Specification

The first line will contain three integers, u_x, u_y, u_z (|u_x|, |u_y|, |u_z| \le 10^9), the components of the vector.

Output Specification

Output the magnitude of the vector, rounded to exactly three decimal places.

Sample Input

2 3 -1

Sample Output



There are no comments at the moment.