Олимпиадный тренинг

Задача 37598. Built-in Functions


Задача

Темы: Информатика
Write a program that determines the distance between two points with given coordinates x1 and x2 on the numeric axis. The distance between two points is calculated using the formula \(|x_2 - x_1|\).
The first line of input contains two real numbers. Output one real number – distance between two points. Round your answer to 3 decimal places.
 
Examples
# Input Output
1 100000 0 100000.000