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
u484229314
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(_) for _ in input().split()]\nprint(a*b/2)\n', 'a,b,c = [int(_) for _ in input().split()]\nprint(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s642434361', 's126417244']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 56]
p03145
u486773779
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()))\n\nl.sort()\n\nprint(l[0]*l[1]//2)', 'l=list(map(int,input().split()))\n\nl.sort()\n\nprint(l[0]*l[1]//2)']
['Runtime Error', 'Accepted']
['s037690749', 's962050034']
[9156.0, 9136.0]
[22.0, 29.0]
[55, 63]
p03145
u487288850
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))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s484663515', 's610714750', 's385968845']
[8924.0, 9156.0, 9156.0]
[20.0, 24.0, 27.0]
[46, 45, 50]
p03145
u489124637
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']
['s866703295', 's779480547']
[2940.0, 2940.0]
[18.0, 18.0]
[53, 54]
p03145
u491656579
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 = int(input())\nh_list = [int(_) for _ in input().split()]\nans = 0 \nwhile sum(h_list) != 0:\n \n \n if h_list.count(0) == 0:\n ans += 1\n else:\n for i in range(0,n):\n \n if i != 0 and h_list[i] == 0 and h_list[i - 1] != 0:\n ans += 1\n elif i == n and h_list[i] != 0:\n ans += 1\n \n for j in range(n):\n if h_list[j] != 0:\n h_list[j] -= 1\n\nprint(ans)', 'n = int(input())\nh_list = [int(_) for _ in input().split()]\nans = 0\nwhile sum(h_list) != 0:\n \n \n if h_list.count(0) == 0:\n ans += 1\n else:\n for i in range(1, n):\n \n if h_list[i] == 0 and h_list[i - 1] != 0:\n ans += 1\n elif i == n - 1 and h_list[i] != 0:\n ans += 1\n \n for i in range(n):\n if h_list[i] != 0:\n h_list[i] -= 1\n\nprint(ans)', 'ab,bc,ca = map(int, input().split())\n\nprint(bc * ab // 2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s414512695', 's425359633', 's950170445']
[3064.0, 3064.0, 2940.0]
[18.0, 18.0, 17.0]
[680, 673, 57]
p03145
u492112493
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())\nres = a * b / 2\nprint(res)', 'a,b,c = map(int,input().split())\nres = a * b / 2\nprint(res)', 'a,b,c = map(int,input().split())\nres = a * b / 2\nprint(int(res))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s661610972', 's974757854', 's160279113']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[61, 59, 64]
p03145
u492749916
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)', 'arr = []\n\nA, B, C = list(map(int, input().split()))\n\narr.append(A)\narr.append(B)\narr.append(C)\narr = sorted(arr)\n\nprint(int(arr[0]*arr[1]*0.5))']
['Wrong Answer', 'Accepted']
['s306853825', 's114610350']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 143]
p03145
u492835011
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()] \n\ns = a[0] * a[1] / 2\n\nprint(s)', 'a = [int(i) for i in input().split()] \n\ns = a[0] * a[1] / 2\n\nprint(int(s))']
['Wrong Answer', 'Accepted']
['s525155586', 's374950110']
[2940.0, 3068.0]
[18.0, 17.0]
[69, 74]
p03145
u496280557
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\n\na,b,c = map(int,input().split())\nprint((a * b) / 2)', '\n\n\nAB,BC,CA = map(int,input().split())\nprint((AB * BC) / 2)\n', '\n\n\nAB,BC,CA = map(int,input().split())\nprint((AB * BC) // 2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s017777721', 's456610293', 's343007853']
[9060.0, 9108.0, 9104.0]
[29.0, 28.0, 24.0]
[332, 338, 338]
p03145
u496407619
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.
['import numpy as np\n\nN = int(input())\nh_list = list(map(int, input().split(" ")))\n\nh_dict = {}\nfor elm_i, elm in enumerate(h_list):\n try:\n h_dict[elm].append(elm_i)\n except:\n h_dict[elm] = [elm_i]\n\nh_list = np.asarray(h_list)\n\n\ndef calc(group, past_out, group_start):\n out = 0\n while True:\n #print("group", group)\n min_val = min(group)\n group -= min_val\n out += min_val\n #zero_list = np.where(group == 0)[0]\n #print("outs", past_out, out, group)\n \n zero_list = h_dict[past_out + out]\n \n zero_list = [elm_i - group_start for elm_i in zero_list if elm_i >= group_start and elm_i < group_start + len(group)]\n \n\n cond1 = group.shape[0] - 1 in zero_list\n cond2 = 0 in zero_list\n\n if group.shape[0] == 1:\n \n break\n else:\n if cond1: \n zero_list = zero_list[:-1]\n group = group[:-1]\n if cond2:\n group_start += 1\n zero_list = zero_list[1:]\n group = group[1:]\n\n if not cond1 and not cond2:\n break\n\n if group.shape[0] == 0:\n break\n\n\n if group.shape[0] <= 1:\n pass\n else:\n start_i = -1\n past_out = out\n for end_i in zero_list:\n child_group = group[start_i+1: end_i]\n #print("child_group", child_group)\n out += calc(child_group, past_out, group_start+start_i+1)\n start_i = end_i\n\n child_group = group[start_i+1:]\n if child_group.shape[0] >= 1:\n #print("child_group", child_group)\n out += calc(child_group, past_out, group_start+start_i+1)\n\n return out\n\nout = calc(h_list, 0, 0)\nprint(out)', 'inputs= sorted(list(map(int, input().split(" "))))\n\nout = inputs[0] * inputs[1] // 2\n\nprint(out)']
['Runtime Error', 'Accepted']
['s369525918', 's323392000']
[15652.0, 2940.0]
[1573.0, 17.0]
[1907, 97]
p03145
u497952650
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()))\n\nl.sort()\n\nprint(l[0]*l[1]/2)\n', 'l = list(map(int,input().split()))\n\nl.sort()\n\nprint(l[0]*l[1]//2)\n']
['Wrong Answer', 'Accepted']
['s563937669', 's175332125']
[2940.0, 2940.0]
[17.0, 19.0]
[65, 66]
p03145
u499317876
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()))\nA.sort()\nans=A[0]*A[1]/2\nprint(ans)', 'A=list(map(int,input().split()))\nA.sort()\nans=int(A[0]*A[1]/2)\nprint(ans)\n']
['Wrong Answer', 'Accepted']
['s717543794', 's164988632']
[2940.0, 2940.0]
[17.0, 17.0]
[68, 74]
p03145
u501451051
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']
['s599134599', 's936011906']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 53]
p03145
u502731482
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.
['\na, b, c = map(int, input().split())\n\nprint(a * b * c / max(a, b, c) / 2)', '\na, b, c = map(int, input().split())\n\nprint(int(a * b * c / max(a, b, c) / 2))']
['Wrong Answer', 'Accepted']
['s183295625', 's863324613']
[2940.0, 2940.0]
[18.0, 17.0]
[73, 78]
p03145
u503228842
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())\nd=max(a,b,c)\nprint(a*b*c/(2*d))', 'a,b,c=map(int,input().split())\nd=max(a,b,c)\nprint(int(a*b*c/(2*d)))']
['Wrong Answer', 'Accepted']
['s634090926', 's416007087']
[2940.0, 3060.0]
[18.0, 20.0]
[62, 67]
p03145
u505962881
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']
['s785039217', 's045448870']
[2940.0, 2940.0]
[17.0, 17.0]
[60, 61]
p03145
u506086925
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 = sorted(list(map(int, input().split())))\nprint(l[0]*l[1]/2)', 'ab, bc, ca = map(int, input().split())\nprint(ab*bc//2)']
['Wrong Answer', 'Accepted']
['s327511321', 's975220425']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 54]
p03145
u506587641
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(AB * BC // 2)']
['Wrong Answer', 'Accepted']
['s825338347', 's892334848']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 59]
p03145
u506858457
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=int(input())\nprint(a*b/2)', 'A,B,C=map(int(),input().split())\nprint(A*B//2)', 'a,b=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(a*b//2)', '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(a*b//2)', 'a,b,c=map(int,input().split())\nprint(a*b/2)', 'A,B,C=map(int,input().split())\nprint((A*B)//2)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s163977683', 's182411729', 's228010013', 's244631117', 's276419911', 's344580796', 's462531587', 's463531870', 's816253460', 's831400835', 's067852706']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 18.0]
[48, 29, 46, 42, 43, 44, 45, 43, 45, 43, 46]
p03145
u507116804
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)', 'c,a,b=map(int,input().split())\n\nS=c*a/2\n\nprint(S)', 'a,b,c=map(int, input().split())\n\nprint(a*b/2)', 'c,a,b=map(int,input().split())\n\nprint(c*a/2)', 'a,b,c=map(int, input().split())\n\nprint(int(a*b/2))']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s105254798', 's831670177', 's974699120', 's993601862', 's971553359']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[45, 49, 45, 44, 50]
p03145
u508141157
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']
['s073224244', 's797483999']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u508554136
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.
['abc = list(sorted(map(int, input().split())))\nprint(abc[0]*abc[1]*(1/2))', 'abc = list(map(int, input().split()))\nprint((abc[0] * abc[1]) // 2)']
['Wrong Answer', 'Accepted']
['s717842452', 's678078916']
[2940.0, 2940.0]
[17.0, 18.0]
[72, 67]
p03145
u510331904
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 = sorted(list(map(int, input().split())))\nprint(l[0] * l[1] / 2)\n\n', 'l = sorted(list(map(int, input().split())))\nprint(int((l[0] * l[1] / 2)))\n\n']
['Wrong Answer', 'Accepted']
['s817345596', 's105464932']
[9084.0, 9148.0]
[28.0, 24.0]
[68, 75]
p03145
u511268447
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.
["if __name__ == '__main__':\n import sys\n input = sys.stdin.readline\n import collections\n n, k = map(int, input().split())\n td = [list(map(int, input().split())) for _ in range(n)]\n td.sort(key=lambda x: x[1], reverse=True)\n ans_list = [0]\n reverse_td = list(zip(*td))\n c = collections.Counter(reverse_td[0][:k])\n kind = len(c)\n ans = sum(reverse_td[1][:k])+kind**2\n check = k-1\n flag=False\n for i in range(k,n):\n t = td[i][0]\n d = td[i][1]\n if t in c:\n pass\n else:\n c[t]=1\n while True:\n new_t = td[check][0]\n if c[new_t]==1:\n check -=1\n if check == -1:\n flag =True\n break\n else:\n c[new_t]-=1\n ans_list.append(2*kind+1+d-td[check][1])\n kind+=1\n if flag:\n break\n print(ans+max(ans_list))\n", "if __name__ == '__main__':\n n, w, k = map(int, input().split())\n print(n*w/2)\n", "if __name__ == '__main__':\n n, w, k = map(int, input().split())\n print(int(n*w/2))\n"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s465822001', 's858924440', 's857529333']
[3316.0, 2940.0, 2940.0]
[21.0, 17.0, 17.0]
[1003, 84, 89]
p03145
u512138205
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)\n', 'ab, bc, ca = map(int, input().split())\nprint(int(ab * bc / 2))\n']
['Wrong Answer', 'Accepted']
['s357084641', 's488769711']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 63]
p03145
u516242950
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.
['length = list(map(int, input().split()))\nlength.remove(max(length))\nmenseki = 0.5\nfor l in length:\n menseki = l\nprint(menseki)\n', 'a,b,c = map(int, input().split())\nprint(a * b // 2)']
['Wrong Answer', 'Accepted']
['s248394202', 's479110252']
[2940.0, 2940.0]
[17.0, 18.0]
[128, 51]
p03145
u516272298
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 * (1/2))', 'a,b,c = map(int,input().split())\n\nprint(round(a * b * (1/2)))']
['Wrong Answer', 'Accepted']
['s739957795', 's148153951']
[2940.0, 2940.0]
[17.0, 18.0]
[54, 61]
p03145
u518064858
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']
['s154142199', 's530055504']
[2940.0, 3064.0]
[17.0, 17.0]
[43, 48]
p03145
u518556834
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']
['s576070976', 's253080831']
[3316.0, 2940.0]
[22.0, 18.0]
[45, 46]
p03145
u518987899
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().strip().split(' '))\nprint(a*b/2)", "a,b,c = map(int, input().strip().split(' '))\nprint(int(a*b/2))\n"]
['Wrong Answer', 'Accepted']
['s567277807', 's093542623']
[2940.0, 2940.0]
[18.0, 17.0]
[57, 63]
p03145
u519721530
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(str,input().split())\n\nprint(ab*bc/2)', 'ab,bc,ca = map(int,input().split())\n\nprint(ab*bc/2)', 'a,b,c = map(int,input().split())\n\nprint(int(a*b/2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s067615083', 's921462773', 's567474301']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[51, 51, 51]
p03145
u524994220
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 = input().split()\nx,y,z = int(x), int(y), int(z)\n\nprint(x*y*0.5)\n', 'x,y,z = input().split()\nx,y,z = int(x), int(y), int(z)\n \nprint(x*y*0.5)\n', 'x,y,z = input().split()\nx,y,z = int(x), int(y), int(z)\n \nprint(int(x*y*0.5))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s322069656', 's822576321', 's347882082']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[71, 72, 77]
p03145
u525227429
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']
['s606366116', 's515580589']
[2940.0, 2940.0]
[19.0, 17.0]
[57, 62]
p03145
u525595811
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 = int(input())\nhn = list(map(int, input().split()[:n]))\n\ncount = 0\nprev = 0\n\nfor h in hn:\n count += max(0, h-prev)\n prev = h\n\nprint(count)\n', 'ab, bc, ca = map(int, input().split())\nprint(int(bc*ab/2))\n']
['Runtime Error', 'Accepted']
['s934221408', 's939067787']
[2940.0, 3316.0]
[17.0, 21.0]
[147, 59]
p03145
u527261492
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())\nd=(a*b)/2\nprint(d)', 'a,b,c = map(int,input().split())\nprint(int((a*b)/2))\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s049424616', 's492165156', 's758884949', 's316832655']
[2940.0, 2940.0, 3064.0, 2940.0]
[17.0, 18.0, 17.0, 18.0]
[46, 47, 49, 53]
p03145
u531198040
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)', 'A, B, C = map(int, input().split())\nprint(int((A*B)/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s540233728', 's809211255', 's903431640']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[51, 46, 55]
p03145
u535907456
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,K = list(map(int,input().split()))\nTDlist = []\n\nfor x in range(0,N):\n TDlist.append(list(map(int,input().split())))\n\nTDlist.reverse(key = lambda x: x[1])\nkinds = []\nseconds = []\nanswer = 0\n\nfor x in TDlist[:K]:\n if not x[0] in kinds:\n kinds.append(x[0])\n else:\n seconds.append(x[1])\n answer += x[1]\n\nanswer += len(kinds)**2\nscore = answer\nmax_score = answer\n\nfor x in TDlist[K:]:\n if seconds == []:\n break\n if x[0] in kinds:\n continue\n kinds.append(x[0])\n y = seconds.pop()\n score += (x[1] - y) + (len(kinds)*2 -1)\n max_score = max(score,answer)\n \n\nanswer = max(answer,max_score)\n\nprint(answer)', 'S = list(map(int,input().split()))\nAB = S[0]\nBC = S[1]\nCA = S[2]\n\nanswer = AB * BC // 2\n\nprint(answer)']
['Runtime Error', 'Accepted']
['s781979716', 's292736645']
[3064.0, 2940.0]
[17.0, 17.0]
[657, 102]
p03145
u537782349
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']
['s111538988', 's084576000']
[2940.0, 2940.0]
[17.0, 18.0]
[53, 54]
p03145
u538497610
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.
['list=list(map(int,input().split()))\nprint(list[0]*list[1]/2)', 'list=list(map(int,input().split()))\nprint(int(list[0]*list[1]/2))']
['Wrong Answer', 'Accepted']
['s695091725', 's947689878']
[2940.0, 2940.0]
[18.0, 18.0]
[60, 65]
p03145
u538568153
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# Your code here!\n\na, 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']
['s021466451', 's345109837']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 54]
p03145
u538661041
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']
['s058297960', 's802158192']
[2940.0, 2940.0]
[18.0, 18.0]
[59, 64]
p03145
u538956308
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)", "a,b,c = map(int,input().split(' '))\nS = (a*b)//2\nprint(S)"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s254304951', 's738218217', 's477814228']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[51, 56, 57]
p03145
u546853743
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((b*c)/2)\n', 'a,b,c=sorted(map(int,input().split()))\nprint((b*a)/2)\n', 'a,b,c=sorted(map(int,input().split()))\nprint((b*a)//2)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s241804035', 's341120737', 's790486786']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[54, 54, 55]
p03145
u548308904
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.
['inp = int(input())\nli = [0]\ni = 0\nwhile True:\n te = inp/2\n if te.is_integer():\n te = int(te)\n pass\n else:\n te = int(inp * 3 + 1)\n if te in li:\n print(int(len(li)+1))\n break\n else:\n li.append(te)\n inp = te', 'inp = int(input())\nli = [0]\nfor i in li:\n te = inp/2\n if te.is_integer():\n pass\n else:\n te = inp * 3 + 1\n if te in li:\n print(int(len(li)+1))\n break\n li.append(te)\n inp = te', 'inp = int(input())\nli = [inp]\ni = 0\nwhile True:\n if inp % 2 == 0:\n te = inp/2\n te = int(te)\n pass\n else:\n te = int(inp * 3 + 1)\n if te in li:\n print(int(len(li)+1))\n break\n else:\n li.append(te)\n inp = te', 'inp = int(input())\nli = [0]\ni = 0\nwhile i == 0:\n te = inp/2\n if te.is_integer():\n pass\n else:\n te = inp * 3 + 1\n if te in li:\n print(int(len(li)+1))\n i = 1\n li.append(te)\n inp = te', 'inp = [int(i) for i in input().split()]\nru = inp[0] * inp[1] / 2\nprint(ru)', 'inp = [int(i) for i in input().split()]\nru = inp[0] * inp[1] / 2\nprint(int(ru))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s025508952', 's231096567', 's278925271', 's481819844', 's675862454', 's302144797']
[3060.0, 3064.0, 3060.0, 3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[230, 191, 231, 198, 74, 79]
p03145
u548545174
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(0.5*ab*bc)', 'ab, bc, _ = map(int, input().split())\nprint(int(0.5*ab*bc))']
['Wrong Answer', 'Accepted']
['s446158182', 's362040384']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 59]
p03145
u549497563
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)', 'import math\na,b,c = map(int,input().split())\nprint(math.floor(a*b/2))']
['Wrong Answer', 'Accepted']
['s844156444', 's666779825']
[2940.0, 2940.0]
[17.0, 18.0]
[45, 69]
p03145
u550535134
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 = map(int, input().split())\nprint(x*y/2)\n', 'x, y, z = map(int, input().split())\nprint(x*y/2)\n', 'x, y = map(int, input().split())\nprint(x*y/2)', 'x, y = map(int, input())\nprint(x*y//2)', 'x, y = map(int, input().split())\nprint(x*y//2)\n', 'x, y, z = map(int, input().split())\nprint(x*y//2)\n']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s021161410', 's196353925', 's398810781', 's576357355', 's935656649', 's512503389']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0]
[46, 49, 45, 38, 47, 50]
p03145
u551109821
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())\narray = [A,B,C]\narray.sort()\nprint(array[0]*array[1])', 'A,B,C = map(int,input().split())\narray = [A,B,C]\narray.sort()\nprint(array[0]*array[1]/2)', 'A,B,C = map(int,input().split())\narray = [A,B,C]\narray.sort()\nprint(int(array[0]*array[1]/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s541378371', 's556665697', 's618823738']
[3316.0, 2940.0, 2940.0]
[24.0, 17.0, 17.0]
[86, 88, 93]
p03145
u552357043
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())\nprintint((a * c / 2))', 'c,a,b = map(int, input().split())\nprint( a * c/2)', 'c,a,b = map(int, input().split())\nprint(int(a * c / 2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s732505803', 's810409341', 's814435675']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[55, 49, 55]
p03145
u554784585
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())\n\nprint(a*b//2)\n', 'a,b,c=map(int,input().split())\n\nprint(a*b//2)\n']
['Runtime Error', 'Accepted']
['s564667844', 's658084750']
[9088.0, 9144.0]
[24.0, 23.0]
[44, 46]
p03145
u554954744
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']
['s908700224', 's625649713']
[2940.0, 3060.0]
[18.0, 21.0]
[48, 49]
p03145
u556225812
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)', 'from heapq import heappop, heappush, heapify\nn, k = map(int, input().split())\nlst = [list(map(int, input().split())) for i in range(n)]\nlst = sorted(lst, reverse=True, key=lambda x:x[1])\nq = []\nv = set()\ncnt = 0\nfor t, d in lst[:k]:\n cnt += d\n if t in v:\n heappush(q, d)\n else:\n v.add(t)\ncnt += len(v)**2\nans = cnt\nfor t, d in lst[k:]:\n if t not in v and len(q)!=0:\n x = heappop(q)\n cnt += d + 2*len(v) + 1 - x\n ans = max(ans, cnt)\nprint(ans)', 'a, b, c = map(int, input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s371124701', 's888856566', 's626299650']
[2940.0, 3064.0, 2940.0]
[17.0, 19.0, 17.0]
[48, 489, 53]
p03145
u556371693
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*c)/max(a,b,c)//2\nprint(ans)', 'a,b,c=map(int, input().split())\nans=(a*b*c)/max(a,b,c)/2\nprint(ans)', '|AB|,|BC|,|CA|=map(int, input().split())\nans=(|AB|*|BC|*|CA|/max(|AB|,|BC|,|CA|))/2\nprint(ans)', 'a,b,c=map(int, input().split())\nans=(a*b*c/max(a,b,c))/2\nprint(ans)', 'a,b,c=map(int, input().split())\nans=(a*b)//2\nprint(ans)']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s106505862', 's197911604', 's269033218', 's847985892', 's568173627']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 18.0]
[68, 67, 94, 67, 55]
p03145
u556589653
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((1/2)*a*b))']
['Wrong Answer', 'Accepted']
['s798654268', 's106490673']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 54]
p03145
u556594202
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']
['s123708088', 's665734309']
[9112.0, 9140.0]
[30.0, 29.0]
[43, 48]
p03145
u557437077
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 = [int(i) for i in input().split()]\nprint((ab*bc)/2)', 'ab, bc, ca = [int(i) for i in input().split()]\nprint((ab*bc)//2)']
['Wrong Answer', 'Accepted']
['s044147714', 's179485297']
[2940.0, 2940.0]
[17.0, 20.0]
[63, 64]
p03145
u558059388
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(X) for x in input().split())\nprint(int((a*b)/2))', 'a,b,c=(int(x) for x in input().split())\nprint(int((a*b)/2))']
['Runtime Error', 'Accepted']
['s637253514', 's871540495']
[2940.0, 2940.0]
[17.0, 17.0]
[59, 59]
p03145
u559313689
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*C/2)', 'A,B,C= map(int, input().split())\nprint((A*B)//2)']
['Wrong Answer', 'Accepted']
['s930018996', 's021508821']
[9000.0, 9144.0]
[26.0, 25.0]
[45, 48]
p03145
u559346857
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().split())\nprint(a*b/2)', 'a,b,c=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(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s192484885', 's602282756', 's720770973', 's871688077', 's217821736']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 18.0]
[39, 40, 43, 43, 44]
p03145
u560135121
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']
['s206738071', 's636208266']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u560889512
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>>1)\n']
['Wrong Answer', 'Accepted']
['s578964503', 's284085290']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 45]
p03145
u561339958
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())\nprint(int(c*a/2))\n']
['Wrong Answer', 'Accepted']
['s123784006', 's649182953']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 49]
p03145
u562033060
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.
['b, c, _ = map(int, raw_input().split())\nprint(b * c / 2)', 'b, c, _ = map(int, input().split())\nprint(int(b * c / 2))\n']
['Runtime Error', 'Accepted']
['s037650613', 's118843552']
[2940.0, 2940.0]
[18.0, 17.0]
[56, 58]
p03145
u562472335
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(a*b//2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s095856854', 's698636178', 's990517481']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[43, 43, 44]
p03145
u564906058
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']
['s273502080', 's916741439', 's893663036']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[47, 45, 50]
p03145
u566929485
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']
['s239197637', 's097126796']
[2940.0, 2940.0]
[19.0, 17.0]
[57, 58]
p03145
u569272329
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(int((A * B) / 2))\n']
['Wrong Answer', 'Accepted']
['s474986439', 's695102362']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 60]
p03145
u570522509
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())\nc=int(input())\n\nprint(a*b/2)\n', 'a=input()\nx=[ int(y) for y in a.split() ]\nprint(x[0]*x[1]/2)', 'a=input()\nx=[ int(y) for y in a.split() ]\nprint(x[0]*x[1]//2)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s448867625', 's556838760', 's966349999']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[59, 60, 61]
p03145
u571608999
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)', 's=int(input())\ndef is_even(num):\n return num % 2 == 0\nlist=[]\nlist.append(s)\n\ndef calc(s):\n\tif is_even(int(s)):\n\t\treturn (int((s)/2))\n\t\tlist.append(s)\n\telse:\n\t\treturn (int((s)*3+1))\n\t\tlist.append(s)\n\ts=int(calc(s))\ncheck=[1,2,4]\nfor (s) in (check):\n\tif not (s) in (check):\n\t\tcalc(s)\nelse:\n\tprint (int(s)+3)\n', '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', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s031463140', 's075333611', 's650132717', 's091347259']
[2940.0, 3064.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 17.0]
[56, 310, 58, 63]
p03145
u572271833
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(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s173946652', 's905833946']
[2940.0, 3060.0]
[17.0, 18.0]
[45, 47]
p03145
u575802441
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)', 'A,B,C=map(int,input().split())\nprint(int(A*B/2))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s140690151', 's432572962', 's181817069']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[41, 43, 48]
p03145
u577123111
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']
['s478209831', 's335396528']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 44]
p03145
u578953945
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=sorted(list(map(int,input().split())))\nprint(L[0]*L[1]/2)', 'L=sorted(list(map(int,input().split())))\nprint(L[0]*L[1]//2)\n']
['Wrong Answer', 'Accepted']
['s428651450', 's688797844']
[2940.0, 2940.0]
[17.0, 17.0]
[59, 61]
p03145
u580093517
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=list(map(int, input().split()))\n\nc.remove(max(c))\n\nprint(int(c[0]*c[1])/2)', 'c=list(map(int, input().split()))\n\nc.remove(max(c))\n\nprint((c[0]*c[1])/2)', 'a,b,_ = map(int,input().split())\nprint(a*b//2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s267031655', 's668306828', 's927310208']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[76, 73, 46]
p03145
u580236524
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)\n', 'c,a,b = map(int, input().split())\nprint(int(c*a/2))\n']
['Wrong Answer', 'Accepted']
['s811966895', 's202492906']
[2940.0, 2940.0]
[17.0, 17.0]
[47, 52]
p03145
u580502851
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().split()\narr=sorted([a,b,c])\nprint(arr[0]*arr[1])\nreturn arr[0]*arr[1]\n\n', 'N,K=map(int,input().split())\ntd=[[int(a) for a in input().split()]for i in range(N)]\n\ntd=sorted(td,key=lambda x:-x[1])\n\nans=0\neat=[]\nnoteat=[]\nfor t,d in td[:K]:\n ans+=d\n if t not in eat:\n eat.append(t)\n else:\n noteat.append(d)\ntemp_result=ans+sum(eat)**2\nmax_result=temp_result\n\nfor t,d in td[K:]:\n if not noteat:\n break\n if t not in eat:\n temp_result+=2*len(eat)+1\n temp_result+=d-noteat.pop()\n eat.add(t)\n max_result=max(max_result,temp_result)\nprint(max_result)\n \n', 'N,K=map(int,input().split())\ntd=[[int(a) for a in input().split()]for i in range(N)]\n\ntd=sorted(td,key=lambda x:-x[1])\n\nans=0\neat=[]\nnoteat=[]\nfor t,d in td[:K]:\n ans+=d\n if t not in eat:\n eat.append(t)\n else:\n noteat.append(d)\ntemp_result=ans+len(eat)**2\nmax_result=temp_result\n\nfor t,d in td[K:]:\n if not noteat:\n break\n if t not in eat:\n temp_result+=2*len(eat)+1\n temp_result+=d-noteat.pop()\n eat.add(t)\n max_result=max(max_result,temp_result)\nprint(max_result)\n \n\n', 'a,b,c=map(int,input().split())\narr=sorted([a,b,c])\nprint(arr[0]*arr[1]/2)\n\n\n', 'a,b,c=map(int,input().split())\narr=sorted([a,b,c])\nprint(arr[0]*arr[1])\n\n\n', 'a,b,c=map(int,input().split())\narr=sorted([a,b,c])\nprint(int(arr[0]*arr[1]/2))\n\n\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s631727834', 's753631764', 's759697609', 's816705811', 's856212937', 's385404407']
[2940.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0, 18.0, 18.0, 18.0]
[85, 494, 495, 76, 74, 81]
p03145
u581040514
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 CD = map(int, input().split())\n\nprint(int(AB*BC*0.5))', 'AB, BC, CD = map(int, input().split())\n\nprint(int(AB*BC*0.5))']
['Runtime Error', 'Accepted']
['s797446530', 's457409469']
[2940.0, 2940.0]
[17.0, 17.0]
[59, 61]
p03145
u581603131
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']
['s063090277', 's421347545']
[3316.0, 2940.0]
[22.0, 17.0]
[45, 46]
p03145
u583014768
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']
['s159960724', 's130501770']
[2940.0, 2940.0]
[17.0, 18.0]
[47, 52]
p03145
u586754007
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().split()\na, b, c = int(a), int(b), int(c)\n\nif a>b and a>c:\n print(1/2 * b * c)\n \nif b>a and b>c:\n print(1/2 * a * c)\n \nif c>b and c>a:\n print(1/2 * b * a)', 'a, b, c= input().split()\na, b, c = int(a), int(b), int(c)\n\nif a>b and a>c:\n print(int((1/2 * b * c)))\n \nif b>a and b>c:\n print(int((1/2 * a * c)))\n \nelse:\n print(int((1/2 * a *b))', 'a, b, c= input().split()\na, b, c = int(a), int(b), int(c)\n\nif a>b and a>c:\n print(1/2 * b * c)\n \nif b>a and b>c:\n print(1/2 * a * c)\n \nelse:\n print(1/2 * a *b)', 'a, b, c= input().split()\na, b, c = int(a), int(b), int(c)\n\nif a>b and a>c:\n print(1/2 * b * c)\n \nif b>a and b>c:\n print(1/2 * a * c)\n \nif c>b and c>a:\n print(1/2 * b * a)', 'a, b, c= input().split()\na, b, c = int(a), int(b), int(c)\n\nif a>b and a>c:\n print(int((1/2 * b * c)))\n \nif b>a and b>c:\n print(int((1/2 * a * c)))\n \nelse:\n print(int((1/2 * a *b)))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s314823312', 's752776478', 's770590240', 's977261771', 's974791053']
[3064.0, 2940.0, 2940.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[174, 184, 164, 175, 185]
p03145
u588558668
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())\nd=min(a*b/2,a*c/2,b*c/2)\nprint(d)', 'a,b,c=map(int,input().split())\nd=min(a*b/2,a*c/2,b*c/2)\nprint(int(d))']
['Wrong Answer', 'Accepted']
['s666572074', 's847149631']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 69]
p03145
u588633699
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)', 'ABC = map(int, input().split())\nprint(ABC[0]*ABC[1]/2)', 'AB, BC, CA = map(int, input().split())\nprint(int(AB*BC/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s076190239', 's393424458', 's606948094']
[3060.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[53, 54, 58]
p03145
u591764610
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()]\nprint(a[0]*a[1]/2)', 'l = [int(i) for i in input().split()]\nprint(int(l[0]*l[1]/2))\n']
['Wrong Answer', 'Accepted']
['s221252883', 's254384580']
[2940.0, 2940.0]
[18.0, 18.0]
[56, 63]
p03145
u591779169
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())\narea = int(bc*ca/2)\nprint(area)', 'ab, bc, ca = map(int, input().split())\narea = int(bc*ab/2)\nprint(area)\n']
['Wrong Answer', 'Accepted']
['s974659855', 's056974334']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 71]
p03145
u592248346
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']
['s022579830', 's853103217']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 46]
p03145
u593934357
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*c/2)', 'a,b,c = map(int,input().split())\nprint(a*b/2)', 'a,b,c = map(int,input().split())\nprint(a*b//2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s161620285', 's768099864', 's691509975']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[47, 45, 46]
p03145
u594803920
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(int(0.5*x**y))', 'x, y ,z = map(int, input().split())\nprint(int(0.5*x*y))\n']
['Wrong Answer', 'Accepted']
['s650098231', 's702302333']
[2940.0, 2940.0]
[17.0, 18.0]
[56, 56]
p03145
u595276801
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', 'print(input()*input()/2)', 'a,b,c = map(int, input().split())\nprint(a*b//2)\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s283884326', 's749443977', 's265775395']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[47, 24, 48]
p03145
u595952233
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']
['s350103965', 's845135393']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 53]
p03145
u596536048
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.
['length1, length2, length3 = map(int, input().split())\narea = AB * BC / 2\nprint(int(area))', 'length1, length2, length3 = map(int, input().split())\narea = length1 * length2 / 2\nprint(int(area))']
['Runtime Error', 'Accepted']
['s939405528', 's518430573']
[9028.0, 9048.0]
[23.0, 25.0]
[89, 99]
p03145
u601082779
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(a*b/2)', 'a,b,c=map(int,input());print(a*b/2)', 'a,b,c=map(int,input().split());print(a*b//2)']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s365790220', 's840704900', 's927454455', 's760609502']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[43, 41, 35, 44]
p03145
u602677143
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(round(a*b/2))']
['Wrong Answer', 'Accepted']
['s741704984', 's386144707']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 52]
p03145
u602715823
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']
['s532383696', 's410416352']
[2940.0, 2940.0]
[18.0, 17.0]
[51, 56]
p03145
u604412462
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.
['i = list(map(int, input().split())) \nprint((i[0] * i[1]) / 2)', 's = input().split() \nprint(s[0] * s[1] / 2)', 'i = list(map(int, input().split())) \nprint(int((i[0] * i[1]) / 2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s570148838', 's786830145', 's351732881']
[2940.0, 2940.0, 2940.0]
[20.0, 18.0, 18.0]
[103, 97, 108]
p03145
u608579392
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 = [int(data) for data in input().split()]\nprint(AB*BC / 2)', 'AB, BC, CA = [int(data) for data in input().split()]\nprint(int(AB*BC / 2))']
['Wrong Answer', 'Accepted']
['s205080381', 's711270425']
[2940.0, 3064.0]
[18.0, 18.0]
[69, 74]
p03145
u608726540
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.
['li = list(map(int,input().split()))\nprint(li[0]*li[1]/2)', 'li = list(map(int,input().split()))\nprint(int(li[0]*li[1]/2))\n']
['Wrong Answer', 'Accepted']
['s837930444', 's711570825']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 62]
p03145
u609061751
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.
['import sys\ninput = sys.stdin.readline\nimport numpy as np\nL = [int(x) for x in input().rstrip().split()]\nL = sorted(L)\nprint((1/2) * L[0] * L[1])\n', 'import sys\ninput = sys.stdin.readline\nimport numpy as np\nL = [int(x) for x in input().rstrip().split()]\nL = sorted(L)\nprint(int((1/2) * L[0] * L[1]))\n']
['Wrong Answer', 'Accepted']
['s165964325', 's571120985']
[12492.0, 12496.0]
[148.0, 148.0]
[145, 150]
p03145
u609738635
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']
['s585092904', 's230834506']
[2940.0, 3064.0]
[19.0, 17.0]
[48, 53]
p03145
u609814378
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,r = map(int,input().split())\n\nAREA = ((x*Y)/2)\n\n\nprint(AREA)', 'x,y,r = map(int,input().split())\n\nAREA = ((x*y)/2)\n\n\nprint(AREA)', 'x,y,r = map(int,input().split())\n\nAREA = x*y\n\nAREA2 =(AREA//2) \n\n\nprint(AREA2)\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s306809307', 's892701912', 's175984406']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[64, 64, 79]
p03145
u609968450
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']
['s951022775', 's362298522']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 48]