problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p03145
u345483150
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['ab, bc, ca=map(int, input().split())\nprint(0.5*ab*bc)', 'ab, bc, ca=map(int, input().split())\nprint(ab*bc//2)']
['Wrong Answer', 'Accepted']
['s488752613', 's948537110']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 52]
p03145
u347267726
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(b*a/2)', 'a,b,c=map(int,input().split())\nprint(int(b*a/2))']
['Wrong Answer', 'Accepted']
['s748882735', 's502627037']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 48]
p03145
u347397127
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int,input().split())\nprint(min(a,b,c)*(sum([a,b,c]-min(a,b,c)-max(a,b,c)))//2)', 'a,b,c = map(int,input().split())\nprint(min(a,b,c)*(sum([a,b,c])-min(a,b,c)-max(a,b,c))//2)\n']
['Runtime Error', 'Accepted']
['s672410650', 's888680048']
[9112.0, 9036.0]
[22.0, 27.0]
[90, 91]
p03145
u350049649
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int, input().split())\nprint(a*b/2)', 'a,b,c=map(int, input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s623812323', 's860869812']
[2940.0, 2940.0]
[18.0, 18.0]
[44, 45]
p03145
u350093546
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s489813783', 's305829099']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 45]
p03145
u353919145
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['x, y, z = map(int, input().split())\n\nprint((x*y)/2)', 'AB,BC,CU = input().split()\nAB = int(AB)\nBC = int(BC)\nCU = int(CU)\n\nif 1 <= AB <= 100:\n if 1 <= BC <= 100:\n if 1 <= CU <= 100:\n area = (AB * BC )/ 2\n print(area)', 'num, num1, num2 = input("").split()\nnum = int(num)\nnum1 = int(num1)\n\nprint(int(num*num1/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s182974700', 's397015636', 's764715599']
[2940.0, 2940.0, 9116.0]
[17.0, 18.0, 28.0]
[51, 192, 91]
p03145
u355154595
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['x,y,z= map(int,input().split())\nprint(x*y/2)', 'x,y,z= map(int,input().split())\nprint(x*y//2)\n']
['Wrong Answer', 'Accepted']
['s504488802', 's626663594']
[9084.0, 9148.0]
[28.0, 25.0]
[44, 46]
p03145
u355649707
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, _ = map(int, input().split())\nprint(a * b / 2)', 'a, b, _ = map(int, input().split())\nprint(int(a * b / 2))\n']
['Wrong Answer', 'Accepted']
['s984553297', 's764383492']
[2940.0, 2940.0]
[17.0, 18.0]
[52, 58]
p03145
u355661029
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = [int(i) for i in input().split()]\nprint(a * b * c // min(a, b, c) // 2)', 'a, b, c = [int(i) for i in input().split()]\nprint(a * b * c // max(a, b, c) // 2)']
['Wrong Answer', 'Accepted']
['s507812892', 's328393764']
[3060.0, 2940.0]
[21.0, 18.0]
[81, 81]
p03145
u356539385
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['X,Y,Z=map(int,input().split())\nprint((X*Y)/2)', 'X,Y,Z=map(int,input().split())\nprint(X*Y/2)', 'X,Y,Z=map(int,input().split())\nprint(int((X*Y)/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s564625859', 's913397060', 's033128748']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 19.0]
[45, 43, 50]
p03145
u357218223
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['# coding: utf-8\nfrom sys import stdin\nAB,BC,AC = map(int, stdin.readline().rstrip().split())\nprint(AB*BC/2)', '# coding: utf-8\nAB,BC,AC = map(int, input().split())\nprint(AB*BC//2)']
['Wrong Answer', 'Accepted']
['s680859012', 's756000567']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 68]
p03145
u362563655
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int, input().split())\nprint(a*b/2)', 'a,b,c=map(int, input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s548726366', 's808394838']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 45]
p03145
u363836311
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int, input().split())\nprint(a*b/2)', 'a,b,c=map(int, input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s163353908', 's213954025']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 49]
p03145
u363992934
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a*b/2)', 'a, b, c = map(int, input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s162605623', 's470613432']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 49]
p03145
u364541509
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['A, B, C = map(int, input().split())\nS = A * B / 2\nprint(S)', 'A, B, C = map(int, input().split())\nS = A * B // 2\nprint(S)']
['Wrong Answer', 'Accepted']
['s072902342', 's274338871']
[2940.0, 2940.0]
[18.0, 17.0]
[58, 59]
p03145
u366482170
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s588152832', 's314151297']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u366886346
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(int(a*b)/2)\n', 'a,b,c=map(int,input().split())\nprint(int((a*b)/2))\n']
['Wrong Answer', 'Accepted']
['s835121695', 's182898300']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 51]
p03145
u369212307
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['3 4 5\n', 'a, b, c = (int(i) for i in input().split())\nprint(a*b//2)']
['Runtime Error', 'Accepted']
['s807908737', 's168937397']
[2940.0, 2940.0]
[17.0, 17.0]
[6, 57]
p03145
u369752439
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = input().strip().split()\nprint(int(a)*int(b)*0.5)', 'a, b, c = input().strip().split()\nprint(int(int(a)*int(b)*0.5))']
['Wrong Answer', 'Accepted']
['s991194111', 's274647297']
[2940.0, 2940.0]
[18.0, 18.0]
[58, 63]
p03145
u370429695
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int,input().split())\nprint(a*b/2)', 'n = int(input())\nh = list(map(int,input().split()))\nans = h[0]\nfor i in range(1,n):\n if h[i-1] < h[i]:\n ans += h[i]-h[i-1]\nprint(ans)', 'a,b,c = map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s660856076', 's994639376', 's345896413']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[45, 143, 50]
p03145
u370721525
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nans = a * b / 2\nprint(ans)', 'a, b, c = map(int, input().split())\nans = a * b / 2\nprint(int(ans))\n']
['Wrong Answer', 'Accepted']
['s664676505', 's407428909']
[9144.0, 9048.0]
[22.0, 30.0]
[62, 68]
p03145
u371409687
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c =sorted(map(int,input().split()))\nprint(a*b/2)', 'a,b,c =sorted(map(int,input().split()))\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s089829333', 's281313942']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 53]
p03145
u371467115
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s773916286', 's154684656']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 45]
p03145
u372923276
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['#n,m = map(int,input().split())\nxlist = list(map(int,input().split()))\n\nS = xlist[0]*xlist[1]/2\nprint(S)\n', '#n,m = map(int,input().split())\nxlist = list(map(int,input().split()))\n\nS = xlist[0]*xlist[1]\nprint(S)\n', '#n,m = map(int,input().split())\nxlist = list(map(int,input().split()))\n\nS = xlist[0]*xlist[1]/2\nprint(int(S))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s099226686', 's814720094', 's089166127']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[105, 103, 110]
p03145
u374146618
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['ab, bc, ac = [int(x) for x in input().split()]\nprint((ab*bc)/2)', 'ab, bc, ac = [int(x) for x in input().split()]\nprint(int((ab*bc)/2))']
['Wrong Answer', 'Accepted']
['s647986712', 's634920730']
[2940.0, 2940.0]
[17.0, 17.0]
[63, 68]
p03145
u379142263
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int,input().split())\nprint(a*b*(1/2))\n', 'a,b,c = map(int,input().split())\nprint(int(a*b*(1/2)))\n']
['Wrong Answer', 'Accepted']
['s740334402', 's684532457']
[2940.0, 2940.0]
[18.0, 17.0]
[50, 55]
p03145
u379689547
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a = list(map(int,input().split())).sorted()\nprint(a[0]*a[1]/2)\n', 'a = sorted(list(map(int,input().split())))\nprint(a[0]*a[1]/2)\n', 'a = sorted(list(map(int,input().split())))\nprint(int(a[0]*a[1]/2))\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s091154921', 's543057709', 's421060163']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[63, 62, 67]
p03145
u380284234
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(b*a//2)']
['Wrong Answer', 'Accepted']
['s737467154', 's478965683']
[2940.0, 2940.0]
[19.0, 17.0]
[43, 44]
p03145
u382176416
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['l = list(map(int, input().split))\nl.sort()\nl.reverse()\nl.pop(0)\nprint(l[0]*l[1]/2)\n', 'l = list(map(int, input().split()))\nl.sort()\nl.reverse()\nl.pop(0)\nprint(l[0]*l[1]//2)\n']
['Runtime Error', 'Accepted']
['s933845082', 's809936403']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 86]
p03145
u382431597
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = list(map(int, input().split()))\nprint(a*b/2)', 'a, b, c = list(map(int, input().split()))\n \nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s191044790', 's845926858']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 61]
p03145
u382639013
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\n\ns = (a+b+c)/2\nS = s*(s-a)*(s-b)*(s-c)\n\nprint(S**0.5)', 'a, b, c = map(int, input().split())\n\ns = (a+b+c)/2\nS = s*(s-a)*(s-b)*(s-c)\n\nprint(int(S**0.5))']
['Wrong Answer', 'Accepted']
['s851696355', 's539167148']
[9332.0, 9376.0]
[30.0, 30.0]
[89, 94]
p03145
u384476576
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB, BC, CA = input().split()\nprint(int(AB) * int(BC) / 2)', 'AB, BC, CA = input().split()\nprint(int(int(AB) * int(BC) / 2))']
['Wrong Answer', 'Accepted']
['s909286482', 's040544456']
[2940.0, 3060.0]
[17.0, 19.0]
[57, 62]
p03145
u390581401
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB, BC, CA = map(int, input().split())\n\nprint(AB * BC / 2)\n\n', 'AB, BC, CA = map(int, input().split())\n\nprint(int(AB * BC / 2))\n\n']
['Wrong Answer', 'Accepted']
['s094257163', 's694843530']
[2940.0, 2940.0]
[17.0, 17.0]
[60, 65]
p03145
u391328897
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, _ = map(int, input().split())\nprint(a*b/2)\n', 'a, b, _ = map(int, input().split())\nprint(int(a*b/2))\n']
['Wrong Answer', 'Accepted']
['s025006947', 's080942060']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 54]
p03145
u393253137
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a**b//2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s720998296', 's057791201']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 44]
p03145
u393338989
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['items = sorted(list(map(int,input().split())))\nprint(items[0]*items[1]/2)', 'items = sorted(list(map(int,input().split())))\nprint(int(items[0]*items[1]/2))']
['Wrong Answer', 'Accepted']
['s428665460', 's294017171']
[3316.0, 2940.0]
[21.0, 23.0]
[73, 78]
p03145
u393512980
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a * b / 2)', 'a,b,c=map(int,input().split())\nprint(a*b/2)', 'a, b, c = map(int, input().split())\nprint(int(a * b / 2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s342819781', 's560222075', 's082209302']
[2940.0, 3188.0, 2940.0]
[17.0, 19.0, 17.0]
[52, 45, 57]
p03145
u394482932
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a=list(map(int,input().split()))\nprint(a[0]*a[1]*a[2]/max(a)/2)', 'a=list(map(int,input().split()))\nprint(a[0]*a[1]*a[2]//max(a)//2)\n']
['Wrong Answer', 'Accepted']
['s084998880', 's465176896']
[2940.0, 2940.0]
[17.0, 17.0]
[63, 66]
p03145
u394716224
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\narea = 0.5 * a * b\nprint(area)\n', 'a, b, c = map(int, input().split())\narea = 0.5 * a * b\nprint(int(area))\n']
['Wrong Answer', 'Accepted']
['s557580841', 's522346907']
[2940.0, 2940.0]
[17.0, 17.0]
[67, 72]
p03145
u396495667
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int, input().split())\nprint(a*b/2)', 'a,b,c = map(int, input().split())\nprint(a*b //2)']
['Wrong Answer', 'Accepted']
['s213386382', 's684454307']
[2940.0, 2940.0]
[17.0, 18.0]
[46, 48]
p03145
u396890425
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint((a*b)/2)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s417125141', 's752831840', 's292677748']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[43, 45, 48]
p03145
u398437835
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["a, b, c = map(int, input().split(' '))\nprint(a*b/2)", "a, b, c = map(int, input().split(' '))\nprint(int(a*b/2))\n"]
['Wrong Answer', 'Accepted']
['s030225336', 's229283775']
[2940.0, 2940.0]
[17.0, 17.0]
[51, 57]
p03145
u398846051
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = sort(map(int, input().split()))\nprint(a*b//2)\n', 'a, b, c = sorted(map(int, input().split()))\nprint(a*b//2)\n']
['Runtime Error', 'Accepted']
['s681980926', 's936640049']
[2940.0, 2940.0]
[18.0, 17.0]
[56, 58]
p03145
u398983698
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nz=a*b/2\nprint(z)', 'a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nz=a*b/2\nprint(int(z))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s657574266', 's674882943', 's996255097']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[47, 43, 52]
p03145
u399973890
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a*b*0.5)', 'a, b, c = map(int, input().split())\nprint(int(a*b*0.5))']
['Wrong Answer', 'Accepted']
['s483191605', 's557346182']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 55]
p03145
u400221789
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nS=a*b/2\nprint(int(S))']
['Wrong Answer', 'Accepted']
['s353638315', 's723374374']
[3316.0, 2940.0]
[21.0, 17.0]
[43, 52]
p03145
u402467563
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['X = list(map(int, input().split()))\nX.sort()\n\nprint(X[0]*X[1]/2)\n', 'X = list(map(int, input().split()))\nX = sort()\n\nprint(X[0]*X[1]/2)', 'X = list(map(int, input().split()))\nX.sort()\n\nprint(int(X[0]*X[1]/2))\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s021482996', 's182526544', 's880025940']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[65, 66, 70]
p03145
u403984573
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB,BC,CA=map(int,input().split())\nprint(AB*BC/2)', 'AB,BC,CA=map(int,input().split())\nprint(int(AB*BC/2))']
['Wrong Answer', 'Accepted']
['s151166986', 's212914513']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 53]
p03145
u404678206
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(min(a*b,b*c,c*a)/2)', 'a,b,c=map(int,input().split())\nprint(int(min(a*b,b*c,c*a)/2))']
['Wrong Answer', 'Accepted']
['s062107100', 's325636298']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 61]
p03145
u410118019
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['ab,bc,ca=map(int,input().split())\nprint(ab*bc/2)', 'ab,bc,ca=map(int,input().split())\nprint(int(ab*bc/2))']
['Wrong Answer', 'Accepted']
['s671145653', 's605154584']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 53]
p03145
u412039195
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a = []\ni = 0\n\ns = int(input())\n\na.append(s)\n\nwhile True:\n if(a[i] % 2 == 0):\n if(a[i] / 2 != 0):\n \tans = int(a[i] / 2)\n else:\n ans = 0\n if ans in a:\n print(str(i + 2))\n break\n \ta.append(ans)\n else:\n anss = int(a[i] * 3 + 1)\n if anss in a:\n print(str(i + 2))\n break\n a.append(anss)\n\n i += 1', 'a = []\ni = 0\n\ns = int(input())\n\na.append(s)\n\nwhile True:\n if(a[i] % 2 == 0):\n if(a[i] / 2 != 0):\n \tans = int(a[i] / 2)\n else:\n ans = 0\n if ans in a:\n print(i + 2)\n break\n \ta.append(ans)\n else:\n anss = int(a[i] * 3 + 1)\n if anss in a:\n print(i + 2)\n break\n a.append(anss)\n\n i += 1', 'a = []\ni = 0\n\ns = int(input())\n\na.append(s)\n\nwhile True:\n if(a[i] % 2 == 0):\n ans = int(a[i] / 2)\n if ans in a:\n print(str(i + 2))\n break\n \ta.append(ans)\n else:\n anss = int(a[i] * 3 + 1)\n if anss in a:\n print(str(i + 2))\n break\n a.append(anss)\n\n i += 1', 'a = []\ni = 0\n\ns = int(input())\n\na.append(s)\n\nwhile True:\n if(a[i] % 2 == 0):\n ans = int(a[i] / 2)\n if ans in a:\n print(str(i + 2))\n break\n \ta.append(ans)\n else:\n anss = int(a[i] * 3 + 1)\n if anss in a:\n print(str(i + 2))\n break\n a.append(anss)\n\n i += 1\n \nprint(a)', 'AB, BC, CA = map(int, input().split())\n\na = AB * BC / 2\n\nprint(str(a))', 'a = []\ni = 0\n\ns = int(input())\n\na.append(s)\n\nwhile True:\n if(a[i] % 2 == 0):\n ans = int(a[i] / 2)\n if ans in a:\n print(str(i + 2))\n break\n \ta.append(ans)\n else:\n anss = int(a[i] * 3 + 1)\n if anss in a:\n print(str(i + 2))\n break\n a.append(anss)\n\n i += 1', 'AB, BC, CA = map(int, input().split())\n\na = int(AB * BC / 2)\n\nprint(str(a))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s034479198', 's267514354', 's464990191', 's522041598', 's584555120', 's942283769', 's122799503']
[3064.0, 3064.0, 3060.0, 3060.0, 2940.0, 3060.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[408, 398, 346, 360, 70, 346, 75]
p03145
u412481017
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input.split())\nprint(a*b//2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)']
['Runtime Error', 'Accepted']
['s073118935', 's739737448']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 44]
p03145
u415325136
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB, BC, CA = map(int, input().split())\nprint(AB*BC/2)', 'AB, BC, CA = map(int, input().split())\nprint(int(AB*BC/2))\n']
['Wrong Answer', 'Accepted']
['s081112829', 's544383760']
[2940.0, 3064.0]
[17.0, 17.0]
[53, 59]
p03145
u416758623
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = [int(i) for i in input().split()]\nprint(a * b / 2)', 'a,b,c = [int(i) for i in input().split()]\nprint((a * b) / 2))', 'a,b,c = [int(i) for i in input().split()]\nprint(a * b // 2)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s674163901', 's854027905', 's391663504']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[58, 61, 59]
p03145
u419510160
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['x,y,z=map(int,input().split())\nprint(x*y/2)', 'x,y,z=map(int,input().split())\nprint(x*y//2)']
['Wrong Answer', 'Accepted']
['s376576903', 's146681211']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u427344224
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a * b / 2)\n', 'a, b, c = map(int, input().split())\nprint(a * b // 2)\n']
['Wrong Answer', 'Accepted']
['s025940882', 's242768191']
[2940.0, 2940.0]
[17.0, 19.0]
[53, 54]
p03145
u428132025
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['ab, bc = map(int, input().split())\nprint(ab*bc/2)', 'ab, bc, ca = map(int, input().split())\nprint(int(ab*bc/2))']
['Runtime Error', 'Accepted']
['s946911722', 's549665562']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 58]
p03145
u430223993
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['s = int(input())\nn = 1\ntmp = s\nif s == 1 or s == 2:\n print(4)\nelse:\n for i in range(1, 1000000):\n if tmp == 4:\n n = i\n break\n elif tmp % 2 == 0:\n tmp = tmp//2\n else:\n tmp = 3*tmp + 1\n print(n+3)', 'a, b, c = map(int, input().split())\narea = int(1/2*a*b)\nprint(area)']
['Runtime Error', 'Accepted']
['s405587912', 's584581970']
[3060.0, 2940.0]
[17.0, 17.0]
[268, 67]
p03145
u432333240
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a*b/2)', 'a, b, c = (int(i) for i in input().split()) \nS = (a*b)/2\nprint(S)', '# coding: utf-8\na, b, c = map(int, input().split())\nprint(a*b/2)', 'a, b, c = map(int, input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s015001920', 's721284979', 's905743482', 's376000104']
[2940.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[48, 65, 64, 53]
p03145
u434282696
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['[a,b,c] = [int(j) for j in input().split()]\nx = [a,b,c]\nd = min(x)\ne = a+b+c-d-max(x)\nprint(d*e/2)\n', '[a,b,c] = [int(j) for j in input().split()]\nx = [a,b,c]\nd = min(x)\ne = a+b+c-d-max(x)\nprint(int(d*e/2))']
['Wrong Answer', 'Accepted']
['s539725538', 's920339219']
[2940.0, 3060.0]
[18.0, 18.0]
[99, 103]
p03145
u434872492
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['A, B, C = map(int,input().split())\n\nprint(A*B/2)', 'AB, BC, CA = map(int,input().split())\n\nprint(int(AB*BC/2))']
['Wrong Answer', 'Accepted']
['s146416602', 's340491462']
[2940.0, 2940.0]
[17.0, 18.0]
[48, 58]
p03145
u437638594
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a * b / 2)', 'a, b, c = map(int, input().split())\nprint(int(a * b / 2))']
['Wrong Answer', 'Accepted']
['s225159906', 's168155119']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 57]
p03145
u439392790
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint((1/2)*a*b)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s577475691', 's112583863']
[2940.0, 2940.0]
[18.0, 18.0]
[47, 48]
p03145
u440129511
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['c,a,b=map(int,input().split())\nprint((c*a)/2)', 'c,a,b=map(int,input().split())\ns=(a+b+c)/3\nprint(int(s*(s-a)*(s-b)*(s-c)))', 'import math\nc,a,b=map(int,input().split())\ns=(a+b+c)/2\nprint(int(math.sqrt(s*(s-a)*(s-b)*(s-c))))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s235893306', 's307114452', 's586624838']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[45, 74, 97]
p03145
u442581202
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['def takeSecond(elem):\n return elem[1]\n\nn,k = map(int,input().split())\n\nsushi = [list(map(int,input().split())) for i in range(n)]\n\nsushi.sort(key=takeSecond,reverse=True)\n\nselected = sushi[:k]\nkindset = set([item[0] for item in selected])\n\nstartKindNum = len(kindset)\n\nscore = startKindNum*startKindNum + sum([item[1] for item in selected])\nmaxscore = score\nfront_pointer = k - 1\npointer = k\nfor i in range(startKindNum+1,min([k+1,n+1])):\n #remove the smallest one that does not decrease kind\n for p in range(front_pointer,-1,-1):\n item = selected[p]\n flag = False\n for idx in range(p):\n if(selected[idx][0]==item[0]):\n score -= item[1]\n selected.remove(item)\n front_pointer = p - 1\n flag = True\n break\n if(flag):\n break\n\n #add the largest one that add kind\n for j in range(pointer,n):\n if(sushi[j][0] not in kindset):\n selected.append(sushi[j])\n kindset.add(sushi[j][0])\n k += 1\n pointer = j + 1 \n score += 2*startKindNum + 1 + sushi[j][1]\n if(score>maxscore):\n maxscore = score\n startKindNum += 1\n break\nprint(maxscore)\n', 'a,b,c = map(input().split())\n\nprint(a*b//2)', 'a,b,c = map(int,input().split())\n\nprint(a*b//2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s170807048', 's714253061', 's806453311']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[1283, 43, 47]
p03145
u444722572
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB,BC,CA=map(int,input().split())\nprint(AB*BC/2)', 'AB,BC,CA=map(int,input().split())\nprint((AB*BC)//2)']
['Wrong Answer', 'Accepted']
['s312031831', 's742129364']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 51]
p03145
u446027224
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['x, y, z = map(int,input().split())\nprint(x*y/2)\n', 'x, y, z = map(int,input().split())\nprint(x*y//2)\n']
['Wrong Answer', 'Accepted']
['s143311599', 's255216368']
[9164.0, 9072.0]
[32.0, 28.0]
[48, 49]
p03145
u446711904
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split());print(a*b/2)', 'a,b,c=map(int,input().split());print(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s185187056', 's765333016']
[2940.0, 2940.0]
[18.0, 18.0]
[43, 48]
p03145
u448743361
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))\n']
['Wrong Answer', 'Accepted']
['s204502407', 's843540043']
[2940.0, 2940.0]
[17.0, 18.0]
[43, 49]
p03145
u449555432
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['|AB|,|BC|,|CA|= map(int,input().split())\nprint(|AB|*|BC|/2)', 'x,y,z= map(int,input().split())\nprint(x*y/2)', 'x,y,z= map(int,input().split())\nprint(int(x*y/2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s065354559', 's611864280', 's555150725']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[59, 44, 49]
p03145
u450904670
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = list(map(int, input().split()))\nprint((a + b) / 2)', 'a,b,c = list(map(int, input().split()))\nprint((a * b) / 2)\n', 'a,b,c = list(map(int, input().split()))\nprint((a * b) // 2)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s494376756', 's600108139', 's998895770']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[58, 59, 60]
p03145
u453526259
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int, input().split())\nprint(a*b/2)', 'a,b,c = map(int, input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s392451196', 's393530363']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 51]
p03145
u453642820
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s912442019', 's957731937']
[3060.0, 2940.0]
[18.0, 17.0]
[43, 48]
p03145
u454043187
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['nums = list(map(int, input().split()))\nnums.sort\nprint(nums[0] * nums[1])', 'nums = list(map(int, input().split()))\nnums.sort()\nprint((nums[0] * nums[1])/2)', 'nums = list(map(int, input().split()))\nnums.sort()\nprint(nums[0] * nums[1])', 'nums = list(map(int, input().split()))\nnums.sort()\nprint(int((nums[0] * nums[1])/2))']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s245018426', 's322354228', 's791273373', 's091621899']
[2940.0, 3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[73, 79, 75, 84]
p03145
u454866339
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\n\ntriangle = a * b / 2\n\nprint(triangle)', 'a, b, c = map(int, input().split())\n\ntriangle = a * b // 2\n\nprint(triangle)']
['Wrong Answer', 'Accepted']
['s258484420', 's638126202']
[9032.0, 9092.0]
[28.0, 27.0]
[74, 75]
p03145
u455177911
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["x = list(map(int, input().split(' ')))\nprint(x[0] * x[1] / 2)", "x = list(map(int, input().split(' ')))\nprint(int(x[0] * x[1] / 2))"]
['Wrong Answer', 'Accepted']
['s827304914', 's647875682']
[2940.0, 2940.0]
[18.0, 18.0]
[61, 66]
p03145
u455477855
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['ab, bc, ca = map(int, input().split())\n\nprint(ab * bc / 2)', 'ab, bc, ca = map(int, input().split())\n\nprint(int(ab * bc / 2))']
['Wrong Answer', 'Accepted']
['s153538611', 's115132760']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 63]
p03145
u455642216
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['X,Y,Z=map(int,input().split())\nprint(min(((X*Y)/2),(X*Z/2),(Y*Z/2)))', 'X,Y,Z=map(int,input().split())\nprint(min(((X*Y)//2),(X*Z//2),(Y*Z//2)))']
['Wrong Answer', 'Accepted']
['s954174998', 's011858986']
[2940.0, 2940.0]
[18.0, 18.0]
[68, 71]
p03145
u456896733
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a = [[int(i) for i in input().split()] for i in range(N)]\nmenseki = a[0]*a[1]/2\nprint(menseki)', 'a = [int(i) for i in input().split()]\nmenseki = int(a[0]*a[1]/2)\nprint(menseki)']
['Runtime Error', 'Accepted']
['s550144248', 's935720114']
[2940.0, 2940.0]
[18.0, 19.0]
[94, 79]
p03145
u457460736
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['A,B,C=map(int,input().split())\nprint((A*B)/2)\n', 'A,B,C=map(int,input().split())\nprint(A*B/2)', 'A,B,C=map(int,input().split())\nprint(A*B//2)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s505803754', 's707197864', 's595769270']
[8952.0, 8912.0, 9108.0]
[28.0, 26.0, 29.0]
[46, 43, 45]
p03145
u457901067
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['A, B, C = map(int, input().split())\nprint(A*B/2)', 'A, B, C = map(int, input().split())\nprint(A*B//2)']
['Wrong Answer', 'Accepted']
['s231290937', 's855495778']
[2940.0, 2940.0]
[18.0, 17.0]
[48, 49]
p03145
u457985479
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['# -*- coding: utf-8 -*-\n\nlis = list(map(int, input().split()))\nprint(lis[0]*lis[1]/2)', '# -*- coding: utf-8 -*-\n\nlis = list(map(int, input().split()))\nprint(lis[0]*lis[1]//2)']
['Wrong Answer', 'Accepted']
['s658681322', 's927940036']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 86]
p03145
u458608788
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b=map(int,input().split())\nprint(a*b//2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n']
['Runtime Error', 'Accepted']
['s507982355', 's704859555']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 45]
p03145
u459233539
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(int((a+b)/2))', 'a,b,c=map(int,input().split())\nprint((a+b)/2)', 'a,b,c=map(int,input().split())\nprint(int((a*b)/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s917878955', 's949751297', 's597446477']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[50, 45, 50]
p03145
u464205401
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=list(map(int,input().split()))\nprint(a*b/2)', 'a,b,c=list(map(int,input().split()))\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s546459626', 's763659086']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 54]
p03145
u464689569
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s096050415', 's664978898']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 48]
p03145
u465246274
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\n\nprint(a*b/2)', 'a, b, c = map(int, input().split())\n\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s290606841', 's790547932']
[2940.0, 2940.0]
[17.0, 19.0]
[49, 54]
p03145
u465699806
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["(a, b, c) = map(int, input().split(' '))\nif a*a + b*b == c*c:\n print(a*b)\nelif b*b + c*c == a*a:\n print(b*c)\nelif c*c + a*a == b*b:\n print(c*a)\n ", "(a, b, c) = map(int, input().split(' '))\nif a*a + b*b == c*c:\n print(a*b//2)\nelif b*b + c*c == a*a:\n print(b*c//2)\nelif c*c + a*a == b*b:\n print(c*a//2)\n "]
['Wrong Answer', 'Accepted']
['s104404719', 's505272643']
[2940.0, 2940.0]
[18.0, 18.0]
[157, 166]
p03145
u466143662
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s149935011', 's413615610']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 48]
p03145
u467307100
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,c = map(int, input().split())\nprint(a*c*1/2)', 'a,c = map(int, input().split())\nprint(a*c*//2)', 'a, b, c = map(int, input().split())\nprint((a * b)//2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s025407418', 's374131436', 's714683546']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 19.0]
[46, 46, 53]
p03145
u469770537
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["# -*- coding: utf-8 -*-\n\na = input().split(' ')\n\nprint(int(a[0]) * int(a[1]) / 2)", "# -*- coding: utf-8 -*-\n\na = input().split(' ')\n\nprint(int(int(a[0]) * int(a[1]) / 2))"]
['Wrong Answer', 'Accepted']
['s782636306', 's722949880']
[2940.0, 2940.0]
[18.0, 18.0]
[106, 111]
p03145
u473633103
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['print([int(i[0])*int(i[1]) for i in[input().split()]][0])', 'print([int(i[0])*int(i[1])//2 for i in[input().split()]][0])']
['Wrong Answer', 'Accepted']
['s086473202', 's956564197']
[2940.0, 2940.0]
[18.0, 18.0]
[57, 60]
p03145
u474423089
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["A,B,_=map(int,input().split(' '))\nprint(A*B/2)", "A,B,_=map(int,input().split(' '))\nprint(A*B//2)"]
['Wrong Answer', 'Accepted']
['s993174522', 's409743686']
[2940.0, 2940.0]
[18.0, 17.0]
[46, 47]
p03145
u474514603
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['def sol(a, b, c):\n #return math.sqrt(a**2+b**2)\n return a*b/2', 'import math\ndef sol(a, b, c):\n return math.sqrt(a**2+b**2)', '#-*- coding: utf-8 -*-\n"""\n"""\n\nfrom collections import defaultdict\nimport sys\n\nimport math\n\n\ndef sol(a, b, c):\n return int(a * b / 2)\n\n\ndo_submit = True\n\n\ndef input_parse(input_str):\n lines = [x.strip() for x in input_str.split("\\n") if x.strip()]\n parsed_lines = [list(map(int, line.split())) for line in lines]\n a, b, c = parsed_lines[0]\n return a, b, c\n\n\nif not do_submit:\n a, b, c = input_parse("""\n 45 28 53\n """)\n print(sol(a, b, c))\nelse:\n a, b, c = list(map(int, input().split()))\n print(sol(a, b, c))\n\n\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s406769524', 's423537557', 's965976978']
[2940.0, 2940.0, 3316.0]
[18.0, 17.0, 21.0]
[67, 59, 546]
p03145
u477343425
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['c,a,b = map(int,input().split())\narea = c * a // 2\nprint(ans)', 'c,a,b = map(int,input().split())\narea = c*a//2\nprint(ans)', 'c,a,b = map(int,input().split())\narea = c*a//2\nprint(area)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s478203051', 's932667919', 's798262984']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[61, 57, 58]
p03145
u477977638
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,_,b,_,c=int(input())\nprint(a*b/2)', 'a,_,b,_,c=int(input())\nprint(a*b//2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s538808082', 's977456169', 's642470168']
[3064.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[35, 36, 44]
p03145
u480038302
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a = int(input())\nb = int(input())\nprint(a*b/2)', 'a = int(input)\nb = int(input)\nprint(a*b/2)', 'a = int(input())\nb = int(input())\nprint((a*b)//2)\n', 'a = int(input())\nb = int(input())\nprint(a*b//2)\n', 'a,b,c = map(int,input().split())\nprint(a*b//2)\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s103755404', 's445565446', 's470375958', 's877070665', 's746110623']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[46, 42, 50, 48, 47]
p03145
u481026841
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c =map(int.input().split())\nprint(a * b // 2)', 'a,b,c = map(int,input().split())\nprint(a * b // 2)']
['Runtime Error', 'Accepted']
['s550080664', 's567421710']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 50]
p03145
u482019060
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['AB, BC, CA = map(int, input().split())\nprint(AB * BC / 2)', 'AB, BC, CA = map(int, input().split())\nprint(int(AB * BC / 2))']
['Wrong Answer', 'Accepted']
['s853843788', 's808065357']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 62]
p03145
u483737025
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,intput().split())\nprint((a*b)//2)\n', 'a,b,c=map(int,intput().split())\nz=(a*b)/2\nprint(int(z))', 'a,b,c=map(int,input().split())\nprint((a*b)//2)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s649462245', 's666359839', 's928856990']
[3064.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[48, 55, 47]