s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s155158468
p02379
u664228906
1509104943
Python
Python3
py
Runtime Error
0
0
85
import math x1,y1,x2,y2 = input().split() print(math.sqrt((x2-x1)**2 + (y2-y1)**2))
Traceback (most recent call last): File "/tmp/tmpyut3e__g/tmphyg78cqg.py", line 3, in <module> x1,y1,x2,y2 = input().split() ^^^^^^^ EOFError: EOF when reading a line
s682198663
p02379
u748921161
1509180038
Python
Python3
py
Runtime Error
0
0
220
import math str = input().split(' ') x1 = int(str[0]) x2 = int(str[1]) y1 = int(str[2]) y2 = int(str[3]) result = (x1-y1)*(x1-y1) + (x2-y2)*(x2-y2) result = math.sqrt(result) if result != 0 else 0 print('%.6f'%result)
Traceback (most recent call last): File "/tmp/tmpionojat4/tmpz6l1g4nd.py", line 3, in <module> str = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s457552158
p02379
u748921161
1509180074
Python
Python3
py
Runtime Error
0
0
220
import math str = input().split(' ') x1 = int(str[0]) x2 = int(str[1]) y1 = int(str[2]) y2 = int(str[3]) result = (x1-y1)*(x1-y1) + (x2-y2)*(x2-y2) result = math.sqrt(result) if result != 0 else 0 print('%.6f'%result)
Traceback (most recent call last): File "/tmp/tmpmkhgxtbo/tmp9ntbwgkk.py", line 3, in <module> str = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s434734232
p02379
u855694108
1510044363
Python
Python3
py
Runtime Error
0
0
204
import math def main(): x1, y1, x2, y2 = map(int, input().split()) b = abs(x2 - x1) h = abs(y2 - y1) d = math.sqrt(b ** 2 + h ** 2) print(d) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpz9n3hwcl/tmp3f9uzgwe.py", line 11, in <module> main() File "/tmp/tmpz9n3hwcl/tmp3f9uzgwe.py", line 3, in main x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s139345309
p02379
u855694108
1510044626
Python
Python3
py
Runtime Error
0
0
218
import math def main(): x1, y1, x2, y2 = map(int, input().split()) b = abs(x2 - x1) h = abs(y2 - y1) d = math.sqrt(b ** 2 + h ** 2) print("{0:.8f}".format(d)) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmp8w_47avm/tmp3qt5q3j7.py", line 11, in <module> main() File "/tmp/tmp8w_47avm/tmp3qt5q3j7.py", line 3, in main x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s842509235
p02379
u518939641
1510403175
Python
Python3
py
Runtime Error
0
0
67
a,b,c,d=list(map(int,input().split)) print(((b-a)**2+(c-d)**2)**.5)
Traceback (most recent call last): File "/tmp/tmpw83lg4un/tmps1skl_er.py", line 1, in <module> a,b,c,d=list(map(int,input().split)) ^^^^^^^ EOFError: EOF when reading a line
s601181762
p02379
u518939641
1510403200
Python
Python3
py
Runtime Error
0
0
69
a,b,c,d=list(map(int,input().split())) print(((b-a)**2+(c-d)**2)**.5)
Traceback (most recent call last): File "/tmp/tmpdxcap6w2/tmpzu4ik4v0.py", line 1, in <module> a,b,c,d=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s470158053
p02379
u518939641
1510403230
Python
Python3
py
Runtime Error
0
0
69
a,b,c,d=list(map(int,input().split())) print(((c-a)**2+(b-d)**2)**.5)
Traceback (most recent call last): File "/tmp/tmpuxph_03v/tmpi0fz6ol7.py", line 1, in <module> a,b,c,d=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s706511660
p02379
u776758454
1510671390
Python
Python3
py
Runtime Error
0
0
138
from math import sqrt def main(): x1, y1, x2, y2 = map(int, input().split()) print(sqrt(abs(x2-x1)**2 + abs(y2-y1)**2)) main()
Traceback (most recent call last): File "/tmp/tmp1yd6ok1u/tmpgebutg5o.py", line 9, in <module> main() File "/tmp/tmp1yd6ok1u/tmpgebutg5o.py", line 5, in main x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s620101820
p02379
u747709646
1510751713
Python
Python3
py
Runtime Error
0
0
99
import math x1,y1,x2,y2 = map(int, input().split()) print(math.sqrt(pow(x2-x1, 2) + pow(y2-y1, 2)))
Traceback (most recent call last): File "/tmp/tmplumh_3bc/tmp8flawi_g.py", line 2, in <module> x1,y1,x2,y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s190651607
p02379
u617472286
1510837395
Python
Python3
py
Runtime Error
0
0
135
import math x1, y1, x2, y2 = [int(s) for s in input().split()] print(math.sqrt((math.fabs(x1 - x2) ** 2) + (math.fabs(y1 - y2) ** 2)))
Traceback (most recent call last): File "/tmp/tmpseybei7w/tmp7nk749p2.py", line 3, in <module> x1, y1, x2, y2 = [int(s) for s in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s916428578
p02379
u488038316
1511493668
Python
Python3
py
Runtime Error
0
0
183
# -*-coding:utf-8 import math def main(): x1, y1, x2, y2 = map(int, input().split()) print(math.sqrt(pow(x2-x1, 2) + pow(y2-y1, 2))) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpaf0fdp9q/tmpqfx028lv.py", line 12, in <module> main() File "/tmp/tmpaf0fdp9q/tmpqfx028lv.py", line 7, in main x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s416051312
p02379
u298999032
1511939364
Python
Python3
py
Runtime Error
0
0
87
x1,y1,x2,y2=map(int,input().split()) print(float((abs(x1-x2)**2)+abs(y1-y2)**2)**(1/2))
Traceback (most recent call last): File "/tmp/tmpca5gdkvb/tmpuy45p2xa.py", line 1, in <module> x1,y1,x2,y2=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s951924169
p02379
u605879293
1511949623
Python
Python3
py
Runtime Error
0
0
98
from math import sqrt a, b, c, d = map(int, input().split()) print(sqrt((c - a)**2 + (d - b)**2))
Traceback (most recent call last): File "/tmp/tmpvltgv1lt/tmpz9sk1g7c.py", line 2, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s522298760
p02379
u605879293
1511949824
Python
Python3
py
Runtime Error
0
0
75
a, b, c, d = map(int, input().split()) print(pow((c-a)**2 + (d-b)**2, 0.5))
Traceback (most recent call last): File "/tmp/tmp7mw7s59m/tmpe6z5kuv4.py", line 1, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s795926071
p02379
u150984829
1513302452
Python
Python3
py
Runtime Error
0
0
64
a,b,c,d=map(int,input().split()) print(((a-c)**2+(b-d)**2)**0.5)
Traceback (most recent call last): File "/tmp/tmpnvnxyzzj/tmphml44f_1.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s431976788
p02379
u150984829
1513302529
Python
Python3
py
Runtime Error
0
0
64
a,b,c,d=map(int,input().split()) print(((a-c)**2+(b-d)**2)**0.5)
Traceback (most recent call last): File "/tmp/tmpmx0g45bq/tmp7njes4z9.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s936068298
p02379
u150984829
1513302620
Python
Python3
py
Runtime Error
0
0
72
a=map(float,input().split()) print(((a[0]-a[2])**2+(a[1]-a[3])**2)**0.5)
Traceback (most recent call last): File "/tmp/tmpxx26on5h/tmpbwzps71r.py", line 1, in <module> a=map(float,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s066346047
p02379
u406002631
1514027583
Python
Python3
py
Runtime Error
0
0
182
import math l = input().split() x1 = int(l[0]) y1 = int(l[1]) x2 = int(l[2]) y2 = int(l[3]) a = pow((x2 - x1), 2) + pow((y2 - y1), 2) ans = math.sqrt(a) print("{0:.8f}".format(ans))
Traceback (most recent call last): File "/tmp/tmpzz5wa0pp/tmpjy8uw6xb.py", line 2, in <module> l = input().split() ^^^^^^^ EOFError: EOF when reading a line
s750407657
p02379
u585035894
1514296324
Python
Python3
py
Runtime Error
0
0
92
o,p,q,r = [int(i) for i in input().split()] print(format(((q-o)**2+(r-p)**2)**(1/2), '.8f'))
Traceback (most recent call last): File "/tmp/tmpfl2b_8g2/tmpqch0cln8.py", line 1, in <module> o,p,q,r = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s113352959
p02379
u017523606
1515037047
Python
Python3
py
Runtime Error
0
0
118
x1,y1,x2,y2 = map(int,input().split()) distance = ( (x1 - x2)**2 + (y1 - y2)**2 )**(1/2) print('{}'.format(distance))
Traceback (most recent call last): File "/tmp/tmpudcqbtg9/tmpdjz4hm86.py", line 1, in <module> x1,y1,x2,y2 = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s611035481
p02379
u839008951
1515824341
Python
Python3
py
Runtime Error
0
0
139
import math x1, y1, x2, y2 = map(int, input().split()) print("{a:5f}".format(a=math.sqrt(math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))))
Traceback (most recent call last): File "/tmp/tmpuh0jqjrm/tmpix7jw_jd.py", line 3, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s750322925
p02379
u839008951
1515824460
Python
Python3
py
Runtime Error
0
0
144
import math x1, y1, x2, y2 = map(int, input().split()) print("{a:5f}".format( a=math.sqrt(math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))))
Traceback (most recent call last): File "/tmp/tmp0ll9yy0j/tmpooty62wz.py", line 3, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s360094773
p02379
u227984374
1516249334
Python
Python3
py
Runtime Error
0
0
103
import math x1, y1, x2, y2 = map(int, input().split()) z = math.sqrt((x1-x2)**2 + (y1-y2)**2) print(z)
Traceback (most recent call last): File "/tmp/tmprcosnck3/tmpqjlzqp07.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s788331894
p02379
u177808190
1517246165
Python
Python3
py
Runtime Error
0
0
152
import math def hoge(a): return a * a x1, y1, x2, y2 = map(int, input().split()) print (math.sqrt(hoge(math.fabs(x1-x2)) + hoge(math.fabs(y1-y2))))
Traceback (most recent call last): File "/tmp/tmp6mjbuf8h/tmp79i9qwog.py", line 4, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s097922705
p02379
u177808190
1517246192
Python
Python3
py
Runtime Error
0
0
152
import math def hoge(a): return a * a x1, y1, x2, y2 = map(int, input().split()) print (math.sqrt(hoge(math.fabs(x1-x2)) + hoge(math.fabs(y1-y2))))
Traceback (most recent call last): File "/tmp/tmppxvxknp6/tmpui2vangb.py", line 4, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s749191588
p02379
u146752763
1517249816
Python
Python
py
Runtime Error
0
0
196
# coding:utf-8 import math array = map(int,raw_input().split()) x1 = array[0] y1 = array[1] x2 = array[2] y2 = array[3] answer = math.sqrt(math.pow(x2 - x1,2) + math.pow(y2 - y1,2)) print answer
File "/tmp/tmp5528ga21/tmpfn8byidt.py", line 9 print answer ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s047055327
p02379
u088372268
1517360839
Python
Python3
py
Runtime Error
0
0
95
data = list(map(int, input().split())) print(((data[2]-data[0])**2+(data[3]-data[1])**2)**0.5)
Traceback (most recent call last): File "/tmp/tmpujiocwit/tmp9e6tpsnk.py", line 1, in <module> data = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s083674599
p02379
u088372268
1517360908
Python
Python3
py
Runtime Error
0
0
95
data = list(map(int, input().split())) print(((data[2]-data[0])**2+(data[3]-data[1])**2)**0.5)
Traceback (most recent call last): File "/tmp/tmp99sf2968/tmpvv3qyqfp.py", line 1, in <module> data = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s068681865
p02379
u088372268
1517361630
Python
Python3
py
Runtime Error
0
0
113
data = list(map(int, input().split())) print("{:.8f}".format(((data[2]-data[0])**2+(data[3]-data[1])**2)**0.5))
Traceback (most recent call last): File "/tmp/tmpzyrb4o92/tmpdxqukxk1.py", line 1, in <module> data = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s838951139
p02379
u179070318
1517819889
Python
Python3
py
Runtime Error
0
0
87
x1,y1,x2,y2 = [int(x) for x in input().split()] print(((x1-x2)**2+(y1-y2)**2)**(1/2))
Traceback (most recent call last): File "/tmp/tmpxmcb4rg6/tmpnzeuieae.py", line 1, in <module> x1,y1,x2,y2 = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s953628035
p02379
u179070318
1517819996
Python
Python3
py
Runtime Error
0
0
87
x1,y1,x2,y2 = [int(x) for x in input().split()] print(((x1-x2)**2+(y1-y2)**2)**(1/2))
Traceback (most recent call last): File "/tmp/tmpwopa8oiq/tmpv00c4jn2.py", line 1, in <module> x1,y1,x2,y2 = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s598731283
p02379
u294922877
1518676978
Python
Python3
py
Runtime Error
0
0
230
import math def distance(a, b): return float('{:.9}'.format(math.sqrt((b[0] - a[0])**2 + (b[1] - a[1])**2))) if __name__ == '__main__': x1, y1, x2, y2 = map(int, input().split()) print(distance((x1, y1), (x2, y2)))
Traceback (most recent call last): File "/tmp/tmp2hho9d1k/tmpgodkshsz.py", line 7, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s882350278
p02379
u294922877
1518677087
Python
Python3
py
Runtime Error
0
0
230
import math def distance(a, b): return float('{:.9}'.format(math.sqrt((b[0] - a[0])**2 + (b[1] - a[1])**2))) if __name__ == '__main__': x1, y1, x2, y2 = map(int, input().split()) print(distance((x1, y1), (x2, y2)))
Traceback (most recent call last): File "/tmp/tmp2wt4ihdm/tmpit020_kz.py", line 7, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s283551731
p02379
u780025254
1519272255
Python
Python3
py
Runtime Error
0
0
114
import math x1, y1, x2, y2 = map(int, input().split()) print("{:.8f}".format(math.sqrt((x2-x1)**2 + (y2-y1)**2)))
Traceback (most recent call last): File "/tmp/tmpqs0tnwix/tmp9t1sjz13.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s713020318
p02379
u780025254
1519272452
Python
Python3
py
Runtime Error
0
0
97
x1, y1, x2, y2 = map(float, input().split()) print("{:4f}".format((x2-x1)**2 + (y2-y1)**2)**0.5)
Traceback (most recent call last): File "/tmp/tmp_jx4kqvc/tmphueagb26.py", line 1, in <module> x1, y1, x2, y2 = map(float, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s513043827
p02379
u613534067
1520332674
Python
Python3
py
Runtime Error
0
0
102
x1, y1, x2, y2 = map(float, input().split()) print("{0:f}".format(sqrt((x1-x2)**2.0 + (y1-y2)**2.0)))
Traceback (most recent call last): File "/tmp/tmpa9bb3xfk/tmp5reed4xh.py", line 1, in <module> x1, y1, x2, y2 = map(float, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s055190076
p02379
u508054630
1520541302
Python
Python3
py
Runtime Error
0
0
142
import numpy as np x = list(map(float, input().split(' '))) ans = np.sqrt(pow(x[0]-x[2], 2) + pow(x[1]-x[3], 2)) print("{0:.8f}".format(ans))
Traceback (most recent call last): File "/tmp/tmpvf_2yibe/tmph3xzuk3_.py", line 2, in <module> x = list(map(float, input().split(' '))) ^^^^^^^ EOFError: EOF when reading a line
s792153449
p02379
u436259757
1520589172
Python
Python3
py
Runtime Error
0
0
159
import math val = str(input()).split() numList = list(map(int, list(val))) print(math.sqrt(((numList[2]-numList[0]) ** 2) + ((numList[3]-numList[1]) ** 2)))
Traceback (most recent call last): File "/tmp/tmpogn5ihqg/tmpo74l5kwb.py", line 2, in <module> val = str(input()).split() ^^^^^^^ EOFError: EOF when reading a line
s531950533
p02379
u436259757
1520589882
Python
Python3
py
Runtime Error
0
0
159
import math val = str(input()).split() numList = list(map(int, list(val))) print(math.sqrt(((numList[2]-numList[0]) ** 2) + ((numList[3]-numList[1]) ** 2)))
Traceback (most recent call last): File "/tmp/tmp5i_1hwqc/tmpyt743edj.py", line 2, in <module> val = str(input()).split() ^^^^^^^ EOFError: EOF when reading a line
s173053291
p02379
u138546245
1520998989
Python
Python3
py
Runtime Error
0
0
421
import math def distance(p1, p2): """returns the distance between p1 and p2 >>> d = distance((0, 0), (1, 1)) >>> print("{:.5f}".format(d)) 1.41421 """ (x1, y1) = p1 (x2, y2) = p2 return math.sqrt((x2-x1)**2 + (y2-y1)**2) def run(): x1, y1, x2, y2 = [int(i) for i in input().split()] print("{:.5f}".format(distance((x1, y1), (x2, y2)))) if __name__ == '__main__': run()
Traceback (most recent call last): File "/tmp/tmpf7diiz8m/tmp5bnthgq3.py", line 23, in <module> run() File "/tmp/tmpf7diiz8m/tmp5bnthgq3.py", line 17, in run x1, y1, x2, y2 = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s171500592
p02379
u138546245
1520999282
Python
Python3
py
Runtime Error
0
0
447
#!/usr/bin/env python3 import math def distance(p1, p2): """returns the distance between p1 and p2 >>> d = distance((0, 0), (1, 1)) >>> print("{0:.5f}".format(d)) 1.41421 """ (x1, y1) = p1 (x2, y2) = p2 return math.sqrt((x2-x1)**2 + (y2-y1)**2) def run(): x1, y1, x2, y2 = [int(i) for i in input().split()] print("{0:.5f}".format(distance((x1, y1), (x2, y2)))) if __name__ == '__main__': run()
Traceback (most recent call last): File "/tmp/tmp8_rloy1n/tmp294e4auv.py", line 25, in <module> run() File "/tmp/tmp8_rloy1n/tmp294e4auv.py", line 19, in run x1, y1, x2, y2 = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s344298868
p02379
u138546245
1520999506
Python
Python3
py
Runtime Error
0
0
411
def distance(p1, p2): """returns the distance between p1 and p2 >>> d = distance((0, 0), (1, 1)) >>> print("{0:.5f}".format(d)) 1.41421 """ (x1, y1) = p1 (x2, y2) = p2 return math.sqrt((x2-x1)**2 + (y2-y1)**2) def run(): x1, y1, x2, y2 = [float(i) for i in input().split()] print("{0:.5f}".format(distance((x1, y1), (x2, y2)))) if __name__ == '__main__': run()
Traceback (most recent call last): File "/tmp/tmpmn_kdggw/tmpc95zwtjx.py", line 20, in <module> run() File "/tmp/tmpmn_kdggw/tmpc95zwtjx.py", line 14, in run x1, y1, x2, y2 = [float(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s065552748
p02379
u352203480
1521114035
Python
Python3
py
Runtime Error
0
0
110
import math x1, y1, x2, y2 = map(float, input().split()) print(math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2))
File "/tmp/tmp3iqj902g/tmp3qzf13q_.py", line 3 print(math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)) IndentationError: unexpected indent
s288868931
p02379
u352203480
1521114418
Python
Python3
py
Runtime Error
0
0
120
from math import sort x1, y1, x2, y2 = map(float, input().split()) print(math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2))
File "/tmp/tmp5qjh35hz/tmpdian973j.py", line 3 print(math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)) IndentationError: unexpected indent
s239473300
p02379
u444576298
1521457716
Python
Python3
py
Runtime Error
0
0
113
#coding: utf-8 import math x1, y1, x2, y2 = (int(i) for i in input().split()) print(math.sqrt((x2-x1)+(y2-y1)))
Traceback (most recent call last): File "/tmp/tmpd9wi6gud/tmp50zl56rv.py", line 4, in <module> x1, y1, x2, y2 = (int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s673259981
p02379
u027874809
1523243476
Python
Python3
py
Runtime Error
0
0
178
import numpy numlist = list(map(int, input().split())) a = numpy.array([numlist[0], numlist[1]]) b = numpy.array([numlist[2], numlist[3]]) u = b - a print(numpy.linalg.norm(u))
Traceback (most recent call last): File "/tmp/tmp6jy2t0ne/tmpdxk605p3.py", line 2, in <module> numlist = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s803798151
p02379
u027874809
1523243553
Python
Python3
py
Runtime Error
0
0
180
import numpy numlist = list(map(float, input().split())) a = numpy.array([numlist[0], numlist[1]]) b = numpy.array([numlist[2], numlist[3]]) u = b - a print(numpy.linalg.norm(u))
Traceback (most recent call last): File "/tmp/tmpvobry__z/tmpzrner73v.py", line 2, in <module> numlist = list(map(float, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s725130054
p02379
u095590628
1523837930
Python
Python3
py
Runtime Error
0
0
131
import math x1,y1,x2,y2 = tuple(int(n) for n in input().split()) D = math.sqrt((x2-x1)**2 + (y2-y1)**2) print("{:.8f}".format(D))
Traceback (most recent call last): File "/tmp/tmp0w53wtxj/tmpvlv3dpwv.py", line 3, in <module> x1,y1,x2,y2 = tuple(int(n) for n in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s934175607
p02379
u328199937
1524325054
Python
Python3
py
Runtime Error
0
0
129
import math x1, y1, x2, y2 = map(int, input().split()) X = x1 - x2 Y = y1 - y2 print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))
Traceback (most recent call last): File "/tmp/tmpmmjcggy1/tmpm_u1wd27.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s370202584
p02379
u328199937
1524325067
Python
Python3
py
Runtime Error
0
0
129
import math x1, y1, x2, y2 = map(int, input().split()) X = x1 - x2 Y = y1 - y2 print('{:.5f}'.format(math.sqrt(X * X + Y * Y)))
Traceback (most recent call last): File "/tmp/tmpzhso7otj/tmpwceac2tn.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s871214114
p02379
u682153677
1524373438
Python
Python3
py
Runtime Error
0
0
155
# -*- coding: utf-8 -*- import math x1, y1, x2, y2 = map(int, input().split()) dis = math.sqrt((x1 + x2) * (x1 + x2) + (y1 + y2) * (y1 + y2)) print(dis)
Traceback (most recent call last): File "/tmp/tmpbrfqjsw9/tmphbijgmd0.py", line 5, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s041909652
p02379
u126478680
1524684546
Python
Python3
py
Runtime Error
0
0
149
#! python3 # distance.py import math x1, y1, x2, y2 = [int(x) for x in input().split(' ')] print('%.5f'%math.sqrt(pow(x2-x1, 2) + pow(y2-y1, 2)))
Traceback (most recent call last): File "/tmp/tmp_hp983ku/tmpxvx58dlv.py", line 6, in <module> x1, y1, x2, y2 = [int(x) for x in input().split(' ')] ^^^^^^^ EOFError: EOF when reading a line
s015763982
p02379
u876060624
1525092024
Python
Python3
py
Runtime Error
0
0
89
import math a,b,c,d = map(int,input().split()) print(math.sqrt(((c-a)**2) + ((d-b)**2)))
Traceback (most recent call last): File "/tmp/tmp4jcskcex/tmpxtm2ph51.py", line 2, in <module> a,b,c,d = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s779839037
p02379
u806005289
1525590903
Python
Python3
py
Runtime Error
0
0
138
import math l=input().split() x1=int(l[0]) y1=int(l[1]) x2=int(l[2]) y2=int(l[3]) A=math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)) print(A)
Traceback (most recent call last): File "/tmp/tmp5yhw9y9d/tmpwxlnrjv8.py", line 2, in <module> l=input().split() ^^^^^^^ EOFError: EOF when reading a line
s868998724
p02379
u843169619
1525903398
Python
Python3
py
Runtime Error
0
0
193
import math def distance(): x1,x2,x3,x4 = map(int, input().split()) n = (x3 - x1)**2 + (x4 - x2)**2 ans = math.sqrt(n) print(ans) if __name__ == '__main__': distance()
Traceback (most recent call last): File "/tmp/tmp0vvpx3vc/tmpyl2i0r_8.py", line 9, in <module> distance() File "/tmp/tmp0vvpx3vc/tmpyl2i0r_8.py", line 3, in distance x1,x2,x3,x4 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s177486875
p02379
u843169619
1525903670
Python
Python3
py
Runtime Error
0
0
200
import numpy as np def distance(): x1,x2,x3,x4 = map(float, input().split()) n = (x3 - x1)**2 + (x4 - x2)**2 ans = np.sqrt(n) print(ans) if __name__ == '__main__': distance()
Traceback (most recent call last): File "/tmp/tmpzzx64v6v/tmp1b7v7rgm.py", line 9, in <module> distance() File "/tmp/tmpzzx64v6v/tmp1b7v7rgm.py", line 3, in distance x1,x2,x3,x4 = map(float, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s691940569
p02379
u843169619
1525903778
Python
Python3
py
Runtime Error
0
0
128
import numpy as np x1,x2,x3,x4 = map(float, input().split()) n = (x3 - x1)**2 + (x4 - x2)**2 ans = np.sqrt(n) print(ans)
Traceback (most recent call last): File "/tmp/tmpzp59sp2q/tmplxiere9i.py", line 3, in <module> x1,x2,x3,x4 = map(float, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s905905525
p02379
u843169619
1525903966
Python
Python3
py
Runtime Error
0
0
119
import numpy x1,x2,x3,x4 = map(float, input().split()) n = (x3 - x1)**2 + (x4 - x2)**2 ans = numpy.sqrt(n) print(ans)
Traceback (most recent call last): File "/tmp/tmpw1omp_g6/tmpm1tl6zm9.py", line 3, in <module> x1,x2,x3,x4 = map(float, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s240808744
p02379
u986478725
1526021234
Python
Python3
py
Runtime Error
0
0
301
import math def floatinput(): a = input().split() for i in range(len(a)): a[i] = float(a[i]) return a def main(): a = numinput() x1 = a[0]; y1 = a[1]; x2 = a[2]; y2 = a[3] print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2) if __name__ == "__main__": main()
File "/tmp/tmpovyhr0v1/tmpk4hf107f.py", line 12 print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2) ^ SyntaxError: '(' was never closed
s795285355
p02379
u986478725
1526021262
Python
Python3
py
Runtime Error
0
0
304
import math def floatinput(): a = input().split() for i in range(len(a)): a[i] = float(a[i]) return a def main(): a = numinput() x1 = a[0]; y1 = a[1]; x2 = a[2]; y2 = a[3] print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpa69oc0nd/tmp7z9stsz3.py", line 15, in <module> main() File "/tmp/tmpa69oc0nd/tmp7z9stsz3.py", line 10, in main a = numinput() ^^^^^^^^ NameError: name 'numinput' is not defined
s489370816
p02379
u908651435
1526446225
Python
Python3
py
Runtime Error
0
0
107
from math import sqrt x1,x2,y1,y2=map(int, print().split()) a=abs(x1-y1) b=abs(x2-y2) s=sqrt(a+b) print(s)
Traceback (most recent call last): File "/tmp/tmp73f5e4do/tmp6afab914.py", line 2, in <module> x1,x2,y1,y2=map(int, print().split()) ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'split'
s213411495
p02379
u908651435
1526446262
Python
Python3
py
Runtime Error
0
0
110
from math import sqrt x1,x2,y1,y2=map(double, print().split()) a=abs(x1-y1) b=abs(x2-y2) s=sqrt(a+b) print(s)
Traceback (most recent call last): File "/tmp/tmpk6ibj_7f/tmpq6mjyva5.py", line 2, in <module> x1,x2,y1,y2=map(double, print().split()) ^^^^^^ NameError: name 'double' is not defined
s037987316
p02379
u908651435
1526446301
Python
Python3
py
Runtime Error
0
0
109
from math import sqrt x1,x2,y1,y2=map(float, print().split()) a=abs(x1-y1) b=abs(x2-y2) s=sqrt(a+b) print(s)
Traceback (most recent call last): File "/tmp/tmpl17ho5ck/tmp45gpiww7.py", line 2, in <module> x1,x2,y1,y2=map(float, print().split()) ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'split'
s032242967
p02379
u313089641
1526489839
Python
Python3
py
Runtime Error
0
0
104
import math x1, y1, x2, y2 = map(int, input().split()) print(math.sqrt(abs(x2-x1)**2 + abs(y2-y1)**2))
Traceback (most recent call last): File "/tmp/tmpl15gl4m5/tmpg_fs8bgw.py", line 3, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s364792506
p02379
u940150266
1527812640
Python
Python3
py
Runtime Error
0
0
122
import math a, b, c, d = map(int, input().split()) s1 = (a - c) * (a - c) s2 = (b - d) * (b - d) print(math.sqrt(s1+s2))
Traceback (most recent call last): File "/tmp/tmpe4b_2_5i/tmpov3ft9q8.py", line 2, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s370456749
p02379
u940150266
1527812796
Python
Python3
py
Runtime Error
0
0
129
import math a, b, c, d = map(int, input().split()) s1 = (a - c) * (a - c) s2 = (b - d) * (b - d) print("%.6f"%math.sqrt(s1+s2))
Traceback (most recent call last): File "/tmp/tmpmwnyy7e8/tmpxi_fvg6v.py", line 2, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s723696434
p02379
u995990363
1528368678
Python
Python3
py
Runtime Error
0
0
98
import math x1, y1, x2, y2 = map(int, input().split()) print(math.sqrt((y2-y1)**2 + (x2-x1)**2))
Traceback (most recent call last): File "/tmp/tmp6636wcii/tmptlj0cybc.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s860688463
p02379
u995990363
1528368770
Python
Python3
py
Runtime Error
0
0
96
import math x1, y1, x2, y2 = map(int, input().split()) print(((y2-y1)**2 + (x2-x1)**2)**(1/2))
Traceback (most recent call last): File "/tmp/tmp4xjodvme/tmp_jdhyamj.py", line 2, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s427210900
p02379
u995990363
1528368824
Python
Python3
py
Runtime Error
0
0
84
x1, y1, x2, y2 = map(int, input().split()) print(((y2-y1)**2 + (x2-x1)**2)**(1/2))
Traceback (most recent call last): File "/tmp/tmpp2mpzv6n/tmp_2htucj_.py", line 1, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s955786340
p02379
u922112509
1529402139
Python
Python3
py
Runtime Error
0
0
227
# Distance points = [int(i) for i in input().rstrip().split()] a = [points[0], points[1]] b = [points[2], points[3]] distanceSquare = (a[0] - b[0]) ** 2 + (a[1] - b[1]) ** 2 distance = distanceSquare ** 0.5 print(distance)
Traceback (most recent call last): File "/tmp/tmpou8fgmvx/tmpawr8srek.py", line 3, in <module> points = [int(i) for i in input().rstrip().split()] ^^^^^^^ EOFError: EOF when reading a line
s940421141
p02379
u123669391
1530680826
Python
Python3
py
Runtime Error
0
0
111
import math x1, y1, x2, y2 = map(int, input().split()) r = math.sqrt((x1 - x2) **2 + (y1 - y2) **2) print(r)
Traceback (most recent call last): File "/tmp/tmpesj0qjyf/tmpi56iuo7z.py", line 3, in <module> x1, y1, x2, y2 = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s296930855
p02379
u912237403
1371068283
Python
Python
py
Runtime Error
0
0
167
import sys for line in sys.stdin: x1, y1, x2, y2 = line.strip('\n') x1, y1, x2, y2 = int(x1), int(y1), int(x2), int(y2) print ((x1-x2)**2+(y1-y2)**2)**0.5
s661362978
p02379
u912237403
1371068348
Python
Python
py
Runtime Error
0
0
175
import sys for line in sys.stdin: x1, y1, x2, y2 = line.strip('\n') x1, y1, x2, y2 = float(x1), float(y1), float(x2), float(y2) print ((x1-x2)**2+(y1-y2)**2)**0.5
s952541117
p02379
u912237403
1371068466
Python
Python
py
Runtime Error
20
4288
183
import sys for line in sys.stdin: x1, y1, x2, y2 = line.strip('\n').split() x1, y1, x2, y2 = float(x1), float(y1), float(x2), float(y2) print ((x1-x2)**2+(y1-y2)**2)**0.5
s452180364
p02379
u140201022
1381758473
Python
Python
py
Runtime Error
0
0
103
import math n = map(int, raw_input().split()) ans=math.sqrt((n[0]-n[2])**2 + (n[1]-n[3])**2) print ans
File "/tmp/tmpj7ifp4sr/tmp9v5xruro.py", line 5 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s912712906
p02379
u140201022
1381758784
Python
Python
py
Runtime Error
0
0
74
(n,m,o,p) = map(int, raw_input().split()) print ((n-o)**2 + (m-p)**2)**0.5
Traceback (most recent call last): File "/tmp/tmp6u8t8t9j/tmp7vjkg3bc.py", line 1, in <module> (n,m,o,p) = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s653278643
p02379
u870370075
1389456636
Python
Python
py
Runtime Error
0
0
132
import math inputlist=map(int,raw_input().split(",")) print math.sqrt((inputlist[0]-inputlist[1])**2-(inputlist[2]-inputlist[3])**2)
File "/tmp/tmp2cnkoo77/tmp_pj0ise_.py", line 3 print math.sqrt((inputlist[0]-inputlist[1])**2-(inputlist[2]-inputlist[3])**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s468556199
p02379
u870370075
1389456750
Python
Python
py
Runtime Error
0
0
130
import math inputlist=map(int,raw_input().split())) print math.sqrt((inputlist[0]-inputlist[2])**2+(inputlist[1]-inputlist[3])**2)
File "/tmp/tmp93rmrocj/tmptma5886_.py", line 2 inputlist=map(int,raw_input().split())) ^ SyntaxError: unmatched ')'
s814660804
p02379
u870370075
1389456811
Python
Python
py
Runtime Error
0
0
129
import math inputlist=map(int,raw_input().split()) print math.sqrt((inputlist[0]-inputlist[2])**2+(inputlist[1]-inputlist[3])**2)
File "/tmp/tmpid9qw7h_/tmp_r5j34d7.py", line 3 print math.sqrt((inputlist[0]-inputlist[2])**2+(inputlist[1]-inputlist[3])**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s014561999
p02379
u870370075
1389456892
Python
Python
py
Runtime Error
0
0
117
inputlist=map(int,raw_input().split()) print math.sqrt((inputlist[0]-inputlist[2])**2+(inputlist[1]-inputlist[3])**2)
File "/tmp/tmpc5qyvop5/tmph_sff0i1.py", line 2 print math.sqrt((inputlist[0]-inputlist[2])**2+(inputlist[1]-inputlist[3])**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s904687406
p02379
u633068244
1393334780
Python
Python
py
Runtime Error
0
0
98
import math x1, y1, x2, y2 = map(float, raw_input().split()) print sqrt((x2-x1)**2 + (y2-y1)**2)
File "/tmp/tmpauiyelma/tmprlg_ybbw.py", line 5 print sqrt((x2-x1)**2 + (y2-y1)**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s984090933
p02379
u633068244
1393334819
Python
Python
py
Runtime Error
0
0
86
import math x1, y1, x2, y2 = raw_input().split() print sqrt((x2-x1)**2 + (y2-y1)**2)
File "/tmp/tmpqctnu7uk/tmps0e6wxru.py", line 5 print sqrt((x2-x1)**2 + (y2-y1)**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s678360434
p02379
u633068244
1393334857
Python
Python
py
Runtime Error
0
0
93
import math x1, y1, x2, y2 = float(raw_input().split()) print sqrt((x2-x1)**2 + (y2-y1)**2)
File "/tmp/tmp0mk6fzlo/tmpmr3z0khs.py", line 5 print sqrt((x2-x1)**2 + (y2-y1)**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s508404043
p02379
u633068244
1393334912
Python
Python
py
Runtime Error
0
0
146
import math x1, y1, x2, y2 = raw_input().split() x1 = float(x1) x2 = float(x2) y1 = float(y1) y2 = float(y2) print sqrt((x2-x1)**2 + (y2-y1)**2)
File "/tmp/tmpv6jrsy_3/tmpt5iyhwa_.py", line 9 print sqrt((x2-x1)**2 + (y2-y1)**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s287255564
p02379
u633068244
1393335042
Python
Python
py
Runtime Error
0
0
117
import math.py x1, y1, x2, y2 = raw_input().split() print sqrt((float(x2)-float(x1))**2 + (float(y2)-float(y1))**2)
File "/tmp/tmpkelaq8v3/tmp60dto5g4.py", line 5 print sqrt((float(x2)-float(x1))**2 + (float(y2)-float(y1))**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s919951720
p02379
u633068244
1393335117
Python
Python
py
Runtime Error
0
0
118
import math x1, y1, x2, y2 = map(raw_input().split()) print sqrt((float(x2)-float(x1))**2 + (float(y2)-float(y1))**2)
File "/tmp/tmpf21w31hy/tmpv2pl8x0n.py", line 4 print sqrt((float(x2)-float(x1))**2 + (float(y2)-float(y1))**2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s777927757
p02380
u281808376
1540515929
Python
Python3
py
Runtime Error
0
0
121
lst=input().split() lst=list(map(lambda i:int(i),lst)) a,b,C=lst[0],lst[1],lst[2] S=(1/2)*a*b*math.sin(math.radians(C))
Traceback (most recent call last): File "/tmp/tmp57m1j9lp/tmpblniqlsp.py", line 1, in <module> lst=input().split() ^^^^^^^ EOFError: EOF when reading a line
s353043383
p02380
u805716376
1556728546
Python
Python3
py
Runtime Error
0
0
180
from math import sin, cos, pi, sqrt a, b, c = map(int, input().split()) s = a*b*sin(pi*c/180)/2 c = sqrt(a**2 + b**2 -a*b*2*cos(pi*c/180)) h = 2*S/a print(s) print(a+b+c) print(h)
Traceback (most recent call last): File "/tmp/tmpp40necql/tmp4c3pzyvz.py", line 2, in <module> a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s770637875
p02380
u025362139
1556841813
Python
Python3
py
Runtime Error
0
0
253
#coding: UTF-8 import math A, B, DEGREE = list(map(int, input().split())) RADIAN = math.radians(DEGREE) C = sqrt(pow(A, 2)*pow(B, 2) - 2*A*B*math.cos(RADIAN)) S = A*B*math.sin(RADIAN)/2 H = A*math.sin(RADIAN) print("%.10f %.10f %.10f"%(S, A+B+C, h))
Traceback (most recent call last): File "/tmp/tmp42c2snau/tmparlkkj_a.py", line 4, in <module> A, B, DEGREE = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s655296330
p02380
u535719732
1559308579
Python
Python3
py
Runtime Error
0
0
140
from math import * data = list(map(int,input().split())) print("%f %f %f" %(b*cos(radians(c))*a/2,a+b+b*sin(radians(c)),b*sin(radians(c))))
Traceback (most recent call last): File "/tmp/tmp9qo9z12w/tmp5n5008rd.py", line 2, in <module> data = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s940495579
p02380
u535719732
1559308616
Python
Python3
py
Runtime Error
0
0
131
from math import * a,b,c = int(input().split()) print("%f %f %f" %(b*cos(radians(c))*a/2,a+b+b*sin(radians(c)),b*sin(radians(c))))
Traceback (most recent call last): File "/tmp/tmp1a4n_a1d/tmpb4fv5db5.py", line 2, in <module> a,b,c = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s494499717
p02380
u535719732
1559309028
Python
Python3
py
Runtime Error
0
0
141
from math import * a,b,c = map(int,input().split()) c = radians(c) S = a*b*sin(c)/2 print("%f %f %f" %(S,sqrt(a*a+b*b-2*a*b*cos(c),2*S/a )))
Traceback (most recent call last): File "/tmp/tmpr0i5g_os/tmp3qj5fztc.py", line 2, in <module> a,b,c = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s662358586
p02380
u535719732
1559309039
Python
Python3
py
Runtime Error
0
0
142
from math import * a,b,c = map(int,input().split()) c = radians(c) S = a*b*sin(c)/2 print("%f %f %f" %(S,sqrt(a*a+b*b-2*a*b*cos(c)),2*S/a )))
File "/tmp/tmpp7z4ak0e/tmpqcrmktos.py", line 5 print("%f %f %f" %(S,sqrt(a*a+b*b-2*a*b*cos(c)),2*S/a ))) ^ SyntaxError: unmatched ')'
s228570054
p02380
u615353970
1410673362
Python
Python
py
Runtime Error
0
0
210
import math a,b,c=map(float,raw_input().split()) c = c / 180 * math.pi print "%.10f" % float(a*b*math.sin(c)/2) print "%.10f" % float(a + b + math.sqrt(a**2 + b**2)*cos(c)) print "%.10f" % float(b*math.sin(c))
File "/tmp/tmpu0kzhbjw/tmpn31wdzmd.py", line 5 print "%.10f" % float(a*b*math.sin(c)/2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s037698247
p02380
u140201022
1413135044
Python
Python
py
Runtime Error
0
0
138
a,b,C=map(float,raw_input().split()) rad=math.radinas(C) c=(a**2+b**2-2*a*b*math.cos(rad)) h=b*math.sin(c) print h*a/2 print a+b+c print h
File "/tmp/tmpomhk2c1h/tmp3tuf3pyv.py", line 5 print h*a/2 ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s392589527
p02380
u140201022
1413135063
Python
Python
py
Runtime Error
0
0
150
import math a,b,C=map(float,raw_input().split()) rad=math.radinas(C) c=(a**2+b**2-2*a*b*math.cos(rad)) h=b*math.sin(c) print h*a/2 print a+b+c print h
File "/tmp/tmpuhesdecm/tmp9algrm6a.py", line 6 print h*a/2 ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s189415559
p02380
u140201022
1413135970
Python
Python
py
Runtime Error
0
0
145
a,b,C=map(float,raw_input().split()) rad=math.radians(C) c=(a**2+b**2-2*a*b*math.cos(rad))**0.5 h=b*math.sin(rad) print h*a/2 print a+b+c print h
File "/tmp/tmpobi2h8de/tmpsm5mamqe.py", line 5 print h*a/2 ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s323077086
p02380
u949338836
1428963997
Python
Python3
py
Runtime Error
0
0
245
#coding:utf-8 #1_10_B 2015.4.14 import math a,b,C = map(int,input().split()) C = math.radian(C) h = b * math.sin(C) S = a * h / 2 L = a + b + math.sqrt(a ** 2 + b ** 2 - 2 * a * b * math.cos(C)) print('{:.10f}\n{:.10f}\n{:.10f}'.format(S,L,h))
Traceback (most recent call last): File "/tmp/tmpboqde8t9/tmpgfd4gal2.py", line 6, in <module> a,b,C = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s518948608
p02380
u778333573
1463047114
Python
Python
py
Runtime Error
0
0
230
import math from math import radians from cmath import sqrt a,b,c = map(int, raw_input().split) s = (a * b * math.sin(radians(c))) /2 c = sqrt(pow(a,2) + pow(b,2) - 2*a*b*math.cos(radians(c))) print s print a + b +c print s*2 /a
File "/tmp/tmpnhb2g6ra/tmpk2n88dxf.py", line 7 print s ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?