fork(1) download
  1. import math
  2. x1,x2,x3 = map(int,input().split())
  3. min_dist = math.sqrt((x1-x2)**2+(x2-x3)**2+(x3-x1)**2)
  4. print(min_dist)
Success #stdin #stdout 0.02s 9184KB
stdin
7 1 4
stdout
7.3484692283495345