s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s476533468 | p02379 | u869301406 | 1460358827 | Python | Python | py | Runtime Error | 0 | 0 | 128 | import math
data =map(int, raw_input().split(" "))
dx = data[2] - data[0]
dy = data[3] - data[1]
print math.sqrt(dx**2+dy**2) |
s533761469 | p02379 | u239721772 | 1463895691 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 |
x1, y1, x2, y2 = (int(i) for i in input().split())
x_range = x2 - x1
y_range = y2 - y1
distance = pow(pow(x_range, 2) + pow(y_range, 2), 1/2)
print(distance) |
s768708046 | p02379 | u569960318 | 1464748960 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int,input().split())
print("{0:.8f}".format(math.sqrt((x1-x2)**2+(y1-y2)**2))) |
s565830864 | p02379 | u427088273 | 1466153776 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int,input().split())
print(math.fabs(math.sqrt((x2 - x1)**2 + (y2 - y1)**2))) |
s209716606 | p02379 | u203261375 | 1466222451 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | import math
x1,y1,x2,y2 = map(int, input().split())
print(math.sqrt((x1-x2)**2+(y1-y2)**2)) |
s464186528 | p02379 | u617990214 | 1466346984 | Python | Python | py | Runtime Error | 0 | 0 | 109 | from math import sqrt
x_1,y_1,x_2,y_2=map(int,raw_input().split(" "))
print sqrt((x_1-x_2)**2 + (y_1-y_2)**2) |
s015258905 | p02379 | u748033250 | 1467544556 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | # coding: utf-8
import math
x1,y1,x2,y2 = input().split()
X = int(x2) - int(x1)
Y = int(y2) - int(y1)
length = math.sqrt( X**2 + Y**2 )
print(length) |
s029620818 | p02379 | u748033250 | 1467544602 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | # coding: utf-8
import math
x1,y1,x2,y2 = input().split()
X = int(x2) - int(x1)
Y = int(y2) - int(y1)
length = math.sqrt( X**2 + Y**2 )
print(length) |
s006406060 | p02379 | u587193722 | 1470318901 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | import math
x, y, X, Y = [int(i) for i in input().split()]
print(math.sqrt((x-X)**2 + abs(y-Y)**2)) |
s717398023 | p02379 | u587193722 | 1470318994 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | import math
x, y, X, Y = [int(i) for i in input().split()]
print(math.sqrt((x-X)**2 + abs(y-Y)**2),end='') |
s528068332 | p02379 | u369313788 | 1470705870 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | import math
x, y, X, Y = [int(i) for i in input().split()]
print (math.sqrt((x-X)**2+(y-Y)**2)) |
s625911022 | p02379 | u589886885 | 1471186634 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | import math
import sys
x1, y1, x2, y2 = [int(x) for x in sys.stdin.readline().split()]
print(math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)) |
s131325285 | p02379 | u358919705 | 1471803785 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | r = list(map(int, input().split()))
print('{0:f}'.format(((r[2] - r[0]) ** 2 + (r[3] - r[1]) ** 2) ** 0.5)) |
s028870985 | p02379 | u979507074 | 1476286111 | Python | Python | py | Runtime Error | 0 | 0 | 111 | import math
x1, y1, x2, y2 = map(int, raw_input().split(" "))
print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)) |
s244779824 | p02379 | u757827098 | 1476678317 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | import math
a,b,c,d = [int(i) for i in input().split()]
x = (c-a) ** 2
y = (d-b) ** 2
total = (x + y)
a = math.sqrt(total)
print(a) |
s570234295 | p02379 | u757827098 | 1476678563 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | import math
a,b,c,d = [int(i) for i in input().split()]
x = (c-a) ** 2
y = (d-b) ** 2
total = (x + y)
i = math.sqrt(total)
print(i) |
s763000929 | p02379 | u757827098 | 1476678592 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | import math
a,b,c,d = [int(i) for i in input().split()]
x = (c-a) ** 2
y = (d-b) ** 2
total = (x + y)
print(math.sqrt(total)) |
s406974583 | p02379 | u757827098 | 1476678932 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | import math
a,b,c,d = [int(i) for i in input().split()]
x = (c-a) ** 2
y = (d-b) ** 2
total = (x + y)
print(int(math.sqrt(total))) |
s337464515 | p02379 | u831244171 | 1477837048 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | import math
x1,y1,x2,y2 = map(int,input().split())
print(math.sqrt((x1-x2)**2 + (y1-y2)**2)) |
s805248596 | p02379 | u831244171 | 1477837168 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | import math
x1,y1,x2,y2 = map(int,input().split())
print(math.sqrt((x1-x2)**2 + (y1-y2)**2)) |
s454330131 | p02379 | u831244171 | 1477837347 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
x1,y1,x2,y2 = map(int,input().split())
d = math.sqrt((x1-x2)**2 + (y1-y2)**2)
print(d) |
s240043946 | p02379 | u801346721 | 1478445707 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | x1, y1, x2, y2 = map(float, input().split())
import math
print("{0.8}".format(math.sqrt(x1*x2 + y1*y2))) |
s010750274 | p02379 | u801346721 | 1478445901 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | x1, y1, x2, y2 = map(float, input().split())
import math
print("{0???.8}".format(math.sqrt(x1*x2 + y1*y2))) |
s415141953 | p02379 | u801346721 | 1478445922 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | x1, y1, x2, y2 = map(float, input().split())
import math
print("{0???.8???}".format(math.sqrt(x1*x2 + y1*y2))) |
s831210103 | p02379 | u941509088 | 1478447894 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | x1, y1, x2, y2 = map(int, input().split())
X = (x2 - x1)**2
Y = (y2 - y1)**2
distance = (X + Y)**(1/2)
print("%.8f" % (float(distance))) |
s408690671 | p02379 | u635647915 | 1478765539 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | # coding:utf-8
import math
x1,y1,x2,y2=map(int,raw_input().split())
print(math.sqrt((x2-x1)**2+(y2-y1)**2)) |
s717097181 | p02379 | u635647915 | 1478765791 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | # coding:utf-8
import math
x1,y1,x2,y2=list(map(int,input().split()))
print(math.sqrt((x2-x1)**2+(y2-y1)**2)) |
s976921946 | p02379 | u086566114 | 1479488807 | Python | Python | py | Runtime Error | 0 | 0 | 113 | import math
[x1,y1,x2,y2] = [float(x) for x in raw_input().split()]
print(math.sqrt((x2-x1)**2.0 + (y2-y1)**2.0) |
s659467931 | p02379 | u186082958 | 1480450623 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | import math
x1,y1,x2,y2=map(int,input().split())
dx=abs(x1-x2)
dy=abs(y1-y2)
print(math.sqrt(dx*dx+dy*dy)) |
s527492875 | p02379 | u656368260 | 1481991705 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | x1,y1,x2,y2=map(int, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5) |
s153407903 | p02379 | u656368260 | 1481991747 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | x1,y1,x2,y2=map(int, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5) |
s597681347 | p02379 | u216804574 | 1482238895 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | import math
x1, y1, x2, y2 = [int(_) for _ in input().split()]
print(math.sqrt(pow((x2-x1), 2)+pow((y2-y1), 2))) |
s351640590 | p02379 | u957840591 | 1482292944 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
x1,y1,x2,y2=map(int,input().split())
dist=math.sqrt((x1-x2)**2+(y1-y2)**2)
print(dist) |
s287247681 | p02379 | u237991875 | 1483364319 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | import math
x1, y1, x2, y2 = list(map(int, input().split()))
print(math.sqrt((x1 - x2)**2 + (y1 - y2)**2)) |
s672351978 | p02379 | u237991875 | 1483364551 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | x1, y1, x2, y2 = list(map(int, input().split()))
print(((x1 - x2)**2 + (y1 - y2)**2)**0.5) |
s434894068 | p02379 | u865138391 | 1483600880 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int, input().split())
print("{:.6f}".format(math.sqrt((x2-x1)**2+(y2-y1)**2))) |
s540531331 | p02379 | u865138391 | 1483600966 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int, input().split())
print("{:.6f}".format(math.sqrt((x2-x1)**2+(y2-y1)**2))) |
s345434010 | p02379 | u865138391 | 1483601142 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | import math
x1,y1,x2,y2 = map(int, input().split())
dist = math.sqrt((x2-x1)**2+(y2-y1)**2)
print("%.5f" % (dist)) |
s317141295 | p02379 | u256874901 | 1484413623 | Python | Python3 | py | Runtime Error | 0 | 0 | 189 | #coding:utf-8
import math
datas = [int(x) for x in input().split()]
p1 = (datas[0], datas[1])
p2 = (datas[2], datas[3])
print(math.sqrt(math.pow(p1[0]-p2[0], 2)+math.pow(p1[1]-p2[1],2))) |
s779516669 | p02379 | u176732165 | 1484839740 | Python | Python | py | Runtime Error | 0 | 0 | 123 | import numpy as np
x = map(int, (raw_input()).split(" "))
print np.sqrt((x[2]-x[0])*(x[2]-x[0]) + (x[3]-x[1])*(x[3]-x[1])) |
s936458867 | p02379 | u176732165 | 1484839818 | Python | Python | py | Runtime Error | 0 | 0 | 118 | import math
x = map(int, (raw_input()).split(" "))
print math.sqrt((x[2]-x[0])*(x[2]-x[0]) + (x[3]-x[1])*(x[3]-x[1])) |
s932382877 | p02379 | u106285852 | 1485797807 | Python | Python3 | py | Runtime Error | 0 | 0 | 904 | '''
ITP-1_10-A
?????¢
?????? P1(x1, y1), P2(x2, y2) ????????¢????±???????????????°????????????????????????
???Input
x1, y1, x2, y2 ????????°???????????????????????§?????????????????????
???Output
P1??¨P2????????¢????????°??§?????????????????????????????????0.0001??\????????????????????£????????????????????¨????????????
'''
# # import
# import numpy
#
# # inputData
# Data = input().split()
# x1 = int(Data[0])
# y1 = int(Data[1])
# x2 = int(Data[2])
# y2 = int(Data[3])
#
# P1 = numpy.array([x1, y1])
# P2 = numpy.array([x2, y2])
# print(numpy.linalg.norm(P2 - P1))
import math
def get_distance(x1, y1, x2, y2):
d = math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)
return d
if __name__ == '__main__':
# inputData
Data = input().split()
x1 = int(Data[0])
y1 = int(Data[1])
x2 = int(Data[2])
y2 = int(Data[3])
d = get_distance(x1, y1, x2, y2)
print(d) |
s567275404 | p02379 | u144068724 | 1486918043 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | import math
x1,y1,x2,y2 = map(int,input().split())
D = math.sqrt((x2-x1)**2+(y2-y1)**2)
print(D) |
s047352297 | p02379 | u144068724 | 1486918075 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
x1,y1,x2,y2 = map(int,input().split())
D = math.sqrt((x2-x1)**2 + (y2-y1)**2)
print(D) |
s645378692 | p02379 | u144068724 | 1486918178 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | # coding:utf-8
import math
x1,y1,x2,y2 = map(int,input().split())
D = math.sqrt((x2-x1)**2+(y2-y1)**2)
print(D) |
s893636135 | p02379 | u301461168 | 1488126525 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | import math
#1st line
pos_x1, pos_y1, pos_x2, pos_y2 = map(int,input().split(" "))
dist = math.sqrt((pos_x1-pos_x2)**2 + (pos_y1 - pos_y2)**2)
print(str(dist)) |
s945227926 | p02379 | u731896389 | 1488374885 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | import math
a,b,c,d = map(int,input().split())
e = math.sqrt((c-a)**2+(d-b)**2)
print(e) |
s748683239 | p02379 | u731896389 | 1488374906 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | import math
a,b,c,d = map(int,input().split())
e = math.sqrt((c-a)**2+(d-b)**2)
print(e) |
s391818926 | p02379 | u731896389 | 1488379042 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | import math
a,b,c,d = map(int,input().split())
e = math.sqrt((c-a)**2+(d-b)**2)
print(e) |
s319182688 | p02379 | u731896389 | 1488379124 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | import math
a,b,c,d = map(int,input().split())
print(math.sqrt((c-a)**2+(d-b)**2)) |
s957594102 | p02379 | u731896389 | 1488379206 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | from math import sqrt
a,b,c,d = map(int,input().split())
print(math.sqrt((c-a)**2+(d-b)**2)) |
s544220590 | p02379 | u731896389 | 1488379216 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | from math import sqrt
a,b,c,d = map(int,input().split())
print(sqrt((c-a)**2+(d-b)**2)) |
s858931584 | p02379 | u426534722 | 1489232823 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
x1, y1, x2, y2 = [int(i) for i in input().split()]
print(math.hypot(x1 - x2, y1 - y2)) |
s031409759 | p02379 | u426534722 | 1489232840 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
x1, y1, x2, y2 = [int(i) for i in input().split()]
print(math.hypot(x1 - x2, y1 - y2)) |
s328024735 | p02379 | u780342333 | 1489415726 | Python | Python3 | py | Runtime Error | 0 | 0 | 399 | import math
def calc_distance(x1, y1, x2, y2):
'''
:param x1:(float)
:param y1:(float)
:param x2:(float)
:param y2:(float)
:return: (float) distance between two points
'''
return math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)
if __name__ == '__main__':
x1, y1, x2, y2 = [int(x) for x in input().split(" ")]
res = calc_distance(x1, y1, x2, y2)
print(res) |
s777331109 | p02379 | u780342333 | 1489415818 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | import math
x1, y1, x2, y2 = [int(x) for x in input().split(" ")]
print( math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)) |
s450985657 | p02379 | u780342333 | 1489416091 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | x1, y1, x2, y2 = [int(x) for x in input().split(" ")]
print( ( (x2 - x1) ** 2 + (y2 - y1) ** 2 ) ** (1/2) ) |
s965613173 | p02379 | u897625141 | 1489588497 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | import math
x1,y1,x2,y2 = (int(i) for i in input().split())
print(math.sqrt((x2-x1)**2+(y2-y1)**2)) |
s813814342 | p02379 | u104171359 | 1489731268 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | #!/usr/bin/env python3
import math
import sys
def dist():
coordinates = [int(num) for num in sys.stdin.readline().split()]
return math.hypot(coordinates[2]-coordinates[0],
coordinates[3]-coordinates[1])
def main():
print(dist())
if __name__ == '__main__':
main() |
s393676075 | p02379 | u921541953 | 1489806265 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | from math import sqrt
x1, y1, x2, y2 = map(int, input().split())
print(sqrt((x2-x1)**2 + (y2-y1)**2)) |
s258587827 | p02379 | u868716420 | 1490573322 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | a, b, c, d = [int(temp) for temp in input().split()]
from math import sqrt
print(sqrt((c - a) ** 2 + (d - b) ** 2)) |
s944573963 | p02379 | u868716420 | 1490573440 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | a, b, c, d = [int(temp) for temp in input().split()]
from math import sqrt
dis = sqrt((c - a) ** 2 + (d - b) ** 2)
print('%0.5f'%dis) |
s256496991 | p02379 | u208157605 | 1491739950 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | import math
x1, y1, x2, y2 = list(map(int, input().split()))
exp_dist = abs(x1 - x2)**2 + abs(y1 - y2)**2
print(math.sqrt(exp_dist)) |
s113009658 | p02379 | u744977632 | 1492338892 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int, input().split())
dist = math.sqrt( (x2-x1)**2 + (y2-y1)**2 )
print(dist) |
s544835562 | p02379 | u286589639 | 1493014987 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | import math
x1, y1, x2, y2 = map(int, input().split())
distance = math.sqrt((x2-x1)**2 + (y2-y1)**2)
print(distance) |
s639815079 | p02379 | u286589639 | 1493015085 | Python | Python3 | py | Runtime Error | 0 | 0 | 55 | import math
x1, y1, x2, y2 = map(int, input().split()) |
s782200488 | p02379 | u213265973 | 1494380137 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | from math import sqrt
x1, y1, x2, y2 = [int(i) for i in input().split(" ")]
print( "{:.6f}".format(sqrt( (x2 -x1) ** 2 + (y2 - y1) ** 2))) |
s454927283 | p02379 | u213265973 | 1494380159 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | from math import sqrt
x1, y1, x2, y2 = [int(i) for i in input().split(" ")]
print( "{:.8f}".format(sqrt( (x2 -x1) ** 2 + (y2 - y1) ** 2))) |
s949646737 | p02379 | u213265973 | 1494380199 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | from math import sqrt
x1, y1, x2, y2 = [int(i) for i in input().split(" ")]
print( int("{:.8f}".format(sqrt( (x2 -x1) ** 2 + (y2 - y1) ** 2)))) |
s036681875 | p02379 | u126322807 | 1494730529 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | #!/usr/bin/env python
def sqroot(n):
x = float(1)
for i in range(6):
x = (x + n/x)/2
return x
x1, y1, x2, y2 = input().split()
x1 = int(x1)
x2 = int(x2)
y1 = int(y1)
y2 = int(y2)
distance = sqroot((x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1))
print(distance) |
s696266245 | p02379 | u440180827 | 1496326021 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | import math
x1, y1, x2, y2 = map(int, input().split())
print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)) |
s377703978 | p02379 | u821624310 | 1496408322 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | import math
x1, y1, x2, y2 = map(int, input().split())
print(math.sqrt((x2 - x1)**2 + (y2 - y1)**2)) |
s292012788 | p02379 | u591588652 | 1496751516 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | import math
s = input().split(" ")
n = list(map(int,s))
d = math.sqrt((n[0]-n[2])**2 + (n[1]-n[3])**2)
print(d) |
s006412052 | p02379 | u884012707 | 1496798926 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | import math
x1, y1, x2, y2=map(int, input().split())
print("{0:.8f}".format(math.sqrt((x2-x1)**2+(y2-y1)**2))) |
s970821364 | p02379 | u957680575 | 1497779381 | Python | Python3 | py | Runtime Error | 0 | 0 | 66 | x1,y1x2,y2=int(input().split())
print(sqrt((x2-x1)**2+(y2-y1**2))) |
s787090678 | p02379 | u957680575 | 1497779561 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | import math
x1,y1,x2,y2=map(int,input().split())
print(math.sqrt((x2-x1)**2+(y2-y1**2))) |
s948649812 | p02379 | u957680575 | 1497779943 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | import math
x1,y1,x2,y2=map(int,input().split())
print("%.6f"%math.sqrt((x2-x1)**2+(y2-y1**2))) |
s185667447 | p02379 | u957680575 | 1497780092 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | x1,y1,x2,y2=map(int,input().split())
print("%.6f"%((x2-x1)**2+(y2-y1**2))**0.5) |
s901133167 | p02379 | u238667145 | 1497806073 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | import math
x1, y1, x2, y2 = map(int, input().split())
print('{:.5f}'.format(math.sqrt(math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2)))) |
s733279986 | p02379 | u299798926 | 1499483145 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | import math
m=[int(i)for i in input().split()]
x=m[2]-m[0]
y=m[3]-m[1]
print(math.sqrt(float(x*x+y*y))) |
s719849774 | p02379 | u490583481 | 1499588498 | Python | Python | py | Runtime Error | 0 | 0 | 127 | import math
l = [input() for x in range(4)]
dist = math.sqrt(math.fabs(l[0] - l[2])**2 + math.fabs(l[1] - l[3])**2)
print dist |
s984849671 | p02379 | u490583481 | 1499588866 | Python | Python | py | Runtime Error | 0 | 0 | 109 | import math
l = [input() for x in range(4)]
dist = math.sqrt((l[0] - l[2])**2 + (l[1] - l[3])**2)
print dist |
s326201057 | p02379 | u193453446 | 1499663434 | Python | Python3 | py | Runtime Error | 0 | 0 | 201 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
?????¢
"""
import math
x1, y1, x2, y2 = map(int,input().strip().split())
x = x1 - x2
y = y1 - y2
distance = math.sqrt(x * x + y * y)
print(distance) |
s832513565 | p02379 | u264972437 | 1500103638 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | x1,y1,x2,y2 = [int(s) for s in input().split(' ')]
print(((x1-x2)**2 + (y1-y2)**2)**0.5) |
s792599594 | p02379 | u264972437 | 1500103896 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | x1,y1,x2,y2 = [int(s) for s in input().split(' ')]
print(((x1-x2)**2 + (y1-y2)**2)**0.5) |
s082849203 | p02379 | u956645355 | 1500214653 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | import math
def main():
X1, Y1, X2, Y2 = map(int, input().split())
dist = math.sqrt((X2 - X1) ** 2 + (Y2 - Y1) ** 2)
print(dist)
main() |
s997905590 | p02379 | u663910047 | 1500280443 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | import math
x1,y1,x2,y2= map(int,(input().split()))
D=(x2-x1)**2+(y2-y1)**2
d= math.sqrt(D)
print(d) |
s519915489 | p02379 | u914146430 | 1500386330 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | x1,y1,x2,y2=list(map(int,input().split()))
d=((x1-x2)**2+(y1-y2)**2)**0.5
print(d) |
s303091371 | p02379 | u350064373 | 1501138589 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | import math
x1, y1, x2, y2 = map(int, input().split())
x = x2 - x1
y = y2 - y1
result = x**2 + y**2
print(math.sqrt(result)) |
s092002077 | p02379 | u498511622 | 1501230377 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | import math
x1,y1,x2,y2=map(int,input().split())
answer=(math.sqrt((x2-x1)**2+(y2-y1)**2))
print("{0:.8f}".format(answer)) |
s070882721 | p02379 | u498511622 | 1501230493 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | import math
x1,y1,x2,y2=map(int,input().split())
answer=(math.sqrt((x2-x1)**2+(y2-y1)**2))
print("{0:.8f}".format(answer))
print() |
s079442245 | p02379 | u248424983 | 1502171801 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
x1,y1,x2,y2 = map(int,input().split())
print(math.sqrt(math.pow((x2-x1),2)+math.pow((y2-y1),2))) |
s576221684 | p02379 | u954858867 | 1503141388 | Python | Python | py | Runtime Error | 0 | 0 | 111 | import math
x1, y1, x2, y2 = map(int, raw_input().split())
x, y = x2 - x1, y2 - y1
print math.sqrt(x**2 + y**2) |
s591110634 | p02379 | u954858867 | 1503141408 | Python | Python | py | Runtime Error | 0 | 0 | 111 | import math
x1, y1, x2, y2 = map(int, raw_input().split())
x, y = x2 - x1, y2 - y1
print math.sqrt(x**2 + y**2) |
s063406086 | p02379 | u933096856 | 1505476494 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | import math
xa,ya,xb,yb=map(int, input().split())
print(math.sqrt( (xa-xb)**2 + (ya-yb)**2 )) |
s164363719 | p02379 | u933096856 | 1505477501 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | import math
xa,ya,xb,yb=map(int, input().split())
print("{0:.8f}".format(math.sqrt( (xa-xb)**2 + (ya-yb)**2 ))) |
s496710776 | p02379 | u933096856 | 1505477692 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | import math
xa,ya,xb,yb=map(int, input().split())
print("{0:.8f}".format(math.sqrt( (xa-xb)**2 + (ya-yb)**2 ))) |
s261192331 | p02379 | u480053997 | 1507511172 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | import math
x1, y1, x2, y2 = map(int, input().split())
print('%f' %(math.sqrt((x1-x2)**2 + (y1-y2)**2))) |
s733597473 | p02379 | u664228906 | 1509104846 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | import math
x1,y1,x2,y2 = input().split()
print(sqrt((x2-x1)^2 + (y2-y1)^2)) |
s767718836 | p02379 | u664228906 | 1509104882 | Python | Python3 | py | Runtime Error | 0 | 0 | 83 | import math
x1,y1,x2,y2 = input().split()
print(math.sqrt((x2-x1)^2 + (y2-y1)^2)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.