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 | u611239490 | 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'] | ['s545300941', 's758040066'] | [9156.0, 9152.0] | [28.0, 28.0] | [45, 46] |
p03145 | u612223903 | 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(int(a*b/2))'] | ['Wrong Answer', 'Accepted'] | ['s635851850', 's986306672'] | [3064.0, 2940.0] | [17.0, 17.0] | [53, 58] |
p03145 | u612695892 | 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*c)//2)', 'a, b, c = map(int ,input().split())\nprint((a*b)//2)'] | ['Wrong Answer', 'Accepted'] | ['s715450167', 's329599733'] | [2940.0, 2940.0] | [18.0, 18.0] | [51, 51] |
p03145 | u612975321 | 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*0.5)', 'c, a, b = map(int, input().split())\nprint(c*a/2)', 'c, a, b = map(int, input().split())\nprint(int(c*a*0.5))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s244142399', 's805435305', 's317774723'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [50, 48, 55] |
p03145 | u616217092 | 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 main():\n with open(\'sample.txt\') as f:\n ab, bc, ca = [int(x) for x in f.readline().rstrip().split()]\n print(ab * bc // 2)\n\n\nif __name__ == "__main__":\n main()\n', 'from sys import stdin\n\n\ndef main():\n ab, bc, ca = [int(x) for x in stdin.readline().rstrip().split()]\n print(a... | ['Runtime Error', 'Accepted'] | ['s301823153', 's243662208'] | [2940.0, 2940.0] | [18.0, 18.0] | [183, 169] |
p03145 | u618373524 | 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'] | ['s540174384', 's542811650'] | [2940.0, 2940.0] | [17.0, 18.0] | [52, 53] |
p03145 | u619458041 | 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'] | ['s876155230', 's999710859'] | [2940.0, 2940.0] | [20.0, 17.0] | [57, 62] |
p03145 | u619670102 | 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\nlen = list(map(int,input().split()))\n\ndef return_min(x,y):\n if x > y:\n return y\n else:\n return x\n\nmin = len[0]\nmin_index = 0\nif min > len[1]:\n min = len[1]\n min_index = 1\nif min > len[2]:\n min = len[2]\n min_index = 2\n \nif min_index == 0:\n res = min * return_min(len[1],le... | ['Wrong Answer', 'Accepted'] | ['s229850595', 's692618456'] | [3064.0, 3064.0] | [17.0, 18.0] | [432, 437] |
p03145 | u619819312 | 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'] | ['s712554934', 's652360308'] | [3316.0, 3316.0] | [19.0, 19.0] | [43, 44] |
p03145 | u620846115 | 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'] | ['s846717169', 's968533925'] | [9152.0, 9048.0] | [29.0, 30.0] | [43, 44] |
p03145 | u621674426 | 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', 'AB,BC,CA = map(float,input().split())\n\nprint(AB*BC/2)\n', 'AB,BC,CA = map(int,input().split())\n\nprint(int(AB*BC/2))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s474665138', 's973669031', 's710285072'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [52, 54, 57] |
p03145 | u622277165 | 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 -*\nn_list = list(map(int, input().split()))\nprint((n_list[0]*n_list[1])/2)\n', '# -*- coding:utf-8 -*\nn_list = list(map(int, input().split()))\nres = (n_list[0]*n_list[1])/2\nprint(int(res))\n'] | ['Wrong Answer', 'Accepted'] | ['s533940477', 's636807236'] | [2940.0, 2940.0] | [17.0, 18.0] | [94, 109] |
p03145 | u623065116 | 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\nS = ab * bc /2\n\nprint(S)', 'ab, bc, ca = map(int, input().split())\n5 12 13\nS = int((ab * bc) /2)\n\nprint(S)', 'ab, bc, ca = map(int, input().split())\nS = int((ab * bc) /2)\nprint(S)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s494595388', 's562030410', 's689274488'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [64, 78, 69] |
p03145 | u626468554 | 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())\n#n,k = map(int,input().split())\n#x = list(map(int,input().split()))\n\n\na,b,c = map(int,input().split())\n\nprint((a*c)//2)', '#n = int(input())\n#n,k = map(int,input().split())\n#x = list(map(int,input().split()))\n\n\na,b,c = map(int,input().split())\n\nprint((a*b)//2)'] | ['Wrong Answer', 'Accepted'] | ['s342590730', 's762752741'] | [2940.0, 3060.0] | [18.0, 18.0] | [137, 137] |
p03145 | u627886394 | 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 = map(int, input().split(' '))\nprint(ab * bc * 0.5)\n", "ab, bc, ac = map(int, input().split(' '))\nprint(int(ab * bc * 0.5))\n"] | ['Wrong Answer', 'Accepted'] | ['s561549906', 's704833690'] | [3316.0, 3316.0] | [23.0, 20.0] | [63, 68] |
p03145 | u629350026 | 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)\n', 'a,b,c=map(int,input().split())\nprint(int((a*b)/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s773517543', 's781223541'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 51] |
p03145 | u629560745 | 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'] | ['s495413301', 's750578094'] | [3064.0, 2940.0] | [18.0, 17.0] | [51, 56] |
p03145 | u631277801 | 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 / 2) * b)', 'ab, bc, ca = map(int, input().split())\nprint(ab * bc // 2)'] | ['Wrong Answer', 'Accepted'] | ['s296916019', 's766626694'] | [2940.0, 3316.0] | [18.0, 20.0] | [52, 58] |
p03145 | u632369368 | 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. | ['LL = list(map(int, input().split())).sort()\nR = LL[0] * LL[1] // 2\nprint(R)\n', 'LL = list(map(int, input().split()))\nLL.sort()\nR = LL[0] * LL[1] // 2\nprint(R)\n'] | ['Runtime Error', 'Accepted'] | ['s826877996', 's109293955'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 79] |
p03145 | u632974276 | 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. | ['arr = sorted(input().split())\nprint(arr[0]*arr[1]/2)', 'arr = sorted(list(map(int,input().split())))\nprint(int(arr[0]*arr[1]/2))'] | ['Runtime Error', 'Accepted'] | ['s770495302', 's644564037'] | [2940.0, 2940.0] | [18.0, 18.0] | [52, 72] |
p03145 | u633105820 | 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 run(a):\n return a[0] * a[1] // 2\n\n\ndef main():\n a = map(int, input().split())\n print(run(a))\n\n\nif __name__ == '__main__':\n main()\n", "def run(a):\n return a[0] * a[1] // 2\n\n\ndef main():\n a = list(map(int, input().split()))\n print(run(a))\n\n\nif __name__ == '__main__':\n ma... | ['Runtime Error', 'Accepted'] | ['s623921707', 's726278693'] | [2940.0, 2940.0] | [18.0, 18.0] | [146, 152] |
p03145 | u633355062 | 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)\n'] | ['Wrong Answer', 'Accepted'] | ['s544984167', 's825929005'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 62] |
p03145 | u633548583 | 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(1/2*a*b)', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s210472300', 's265121104', 's395181577'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [44, 45, 45] |
p03145 | u637593381 | 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 math\n \na, b, c = map(int, input().split())\n \ns = a+b+c / 2\nprint(math.sqrt(s * (s-a) * (s-b) * (s-c)))', 'import math\n\na, b, c = map(int, input().split())\n\ns = a+b+c / 3\nprint(math.sqrt(s * (s-a) * (s-b) * (s-c)))', 'import math\n \na, b, c = map(int, input().split())\n \ns = a+b+c / 3\nprint(int(mat... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s040929209', 's041832219', 's519850260', 's596976022'] | [3188.0, 2940.0, 3060.0, 3060.0] | [18.0, 17.0, 18.0, 17.0] | [109, 107, 114, 128] |
p03145 | u638033979 | 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\nprint(L[0]*l[1]//2)', 'L = list(map(int,input().split()))\n \nprint(L[0]*L[1]//2)'] | ['Runtime Error', 'Accepted'] | ['s384157104', 's472866682'] | [9140.0, 9048.0] | [26.0, 28.0] | [55, 60] |
p03145 | u639104973 | 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'] | ['s077802502', 's860176540'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 54] |
p03145 | u639343026 | 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)*min(max(a,b),c))//2)', 'a,b,c=map(int,input().split())\nprint(min(a,b)*min(max(a,b),c)//2)'] | ['Runtime Error', 'Accepted'] | ['s781666872', 's461875438'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 65] |
p03145 | u639408146 | 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'] | ['s309501206', 's357391789'] | [2940.0, 2940.0] | [18.0, 17.0] | [47, 52] |
p03145 | u639592190 | 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(a*c/2)', 'c,a,b=map(int,input().split())\nprint(a*c//2)'] | ['Wrong Answer', 'Accepted'] | ['s102512936', 's485671992'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 44] |
p03145 | u640319601 | 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, _ = map(int, input().split())\nprint(AB*BC//2)'] | ['Wrong Answer', 'Accepted'] | ['s416805844', 's063946853'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 53] |
p03145 | u640603056 | 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(int(s))'] | ['Wrong Answer', 'Accepted'] | ['s500320151', 's549877568'] | [2940.0, 2940.0] | [19.0, 17.0] | [58, 63] |
p03145 | u641460756 | 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(input().split())\nb=int(a[0])\nc=int(a[1])\nprint(c*b/2)', 'a,b,c=list(input().split())\nAB=int(a)\nBC=int(b)\nptint(int(AB*BC/2))', 'a,b,c=list(input().split())\nA=int(a)*int(b)/2\nptint(A)\n', 'a,b,c=list(input().split())\nA=int(a*b/2)\nptint(A)\n', 'a,b,c=list(input().split())\nA=int(a)*int(b)/2\nprint(A)\n... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s188750317', 's262828718', 's409604395', 's495398153', 's615168553', 's054666414'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [60, 67, 55, 50, 55, 59] |
p03145 | u642012866 | 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 = list(int, input().split())\nN.sort()\nprint(N[0]*N[1]//2)\n', 'N = list(map(int, input().split()))\nN.sort()\nprint(N[0]*N[1]//2)\n'] | ['Runtime Error', 'Accepted'] | ['s086311256', 's952057753'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 65] |
p03145 | u642418876 | 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|*1/2)\n', 'a=list(map(int,input().split()))\nprint(a[0]*a[1]/2)\n', 'l=list(map(int,input().split()))\nprint(l[0]*l[1]//2)\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s483556118', 's786063827', 's991783622'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [61, 52, 53] |
p03145 | u642823003 | 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. | ['D = int(input())\n\nif D == 25:\n print("Christmas")\n\nelif D == 24:\n print("Christmas Eve")\n\nelif D == 23:\n print("Christmas Eve Eve")\n\nelse:\n print("Christmas Eve Eve Eve")', 'a = list(map(int, input().split()))\n\na.sort()\n\nprint(a[0] * a[1] * 0.5)\n', 'a = list(map(int, input().split()))\n\n... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s320889317', 's356245686', 's158336701'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [182, 72, 73] |
p03145 | u644516473 | 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(ab*bc//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s202093342', 's174842954'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 55] |
p03145 | u647767910 | 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'] | ['s313041325', 's112436694'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 58] |
p03145 | u648212584 | 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 )\n', 'x,y,z = map(int,input().split())\n\nprint( int(x * y / 2) )\n'] | ['Wrong Answer', 'Accepted'] | ['s201038268', 's274529240'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 58] |
p03145 | u652081898 | 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\nif a**2+b**2 == c**2:\n print(a*b/2)\nelif b**2+c**2 == a**2:\n print(b*c/2)\nelse:\n print(c*a/2)', 'a, b, c = map(int, input().split())\n\nif a**2+b**2 == c**2:\n print(int(a*b/2))\nelif b**2+c**2 == a**2:\n print(int(b*c/2))\nelse:\n print(int(c*a/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s718927227', 's516684047'] | [2940.0, 2940.0] | [17.0, 17.0] | [139, 155] |
p03145 | u652892331 | 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)'] | ['Wrong Answer', 'Accepted'] | ['s458000261', 's686316343'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 50] |
p03145 | u653363401 | 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. | ['grid=[[int(i) for i in input().split()]for i in range(i)]\nprint(grid[0]*grid[1]/2)', 'a = [input() for i in range(3)]\nprint(a[0]*a[1]/2)', 'a = [input() for i in range(3)]\nprint(a[0]*a[1]/2)', 'a = list(int(i) for i in input().split())\nprint(a[0]*a[1]//2)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s051772615', 's502001514', 's861083084', 's274315562'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 18.0, 19.0, 18.0] | [82, 50, 52, 62] |
p03145 | u653837719 | 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'] | ['s395924723', 's700979803'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 55] |
p03145 | u654536970 | 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. | ['list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #AB\nlist1_1 = list1[1] #BC\nlist1_2 = list1[2] #CA\n\nif (list1_0 * list1_1 / 2) > 1:\n print(list1_0 * list1_1 / 2)\nelse:\n print(list1)', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #AB\nlist1_1 = list1[1] #BC\nlist1_2 = list1[... | ['Wrong Answer', 'Accepted'] | ['s358791625', 's435719780'] | [2940.0, 3060.0] | [18.0, 18.0] | [199, 201] |
p03145 | u655834330 | 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. | ["\ndef read_input1():\n n, k = map(int, input().split())\n\n data_tuples = []\n for i in range(n):\n data_tuples.append(tuple(map(int, input().split())))\n\n return n, k, data_tuples\n\n\ndef count_neta(sushi_set):\n neta = {s[0] for s in sushi_set}\n return len(neta)\n\n\ndef sum_oishisa(sush... | ['Runtime Error', 'Accepted'] | ['s342241172', 's186916753'] | [3188.0, 2940.0] | [18.0, 18.0] | [2475, 60] |
p03145 | u655975843 | 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('%d' % a*b/2)", 'a, b, c = map(int, input().split())\nprint(a*c/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', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s048022924', 's571515583', 's847353984', 's158548823'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [55, 48, 48, 49] |
p03145 | u658993896 | 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)', 'A,B,C=list(map(int,input().split()))\nprint(A*B//2)'] | ['Wrong Answer', 'Accepted'] | ['s500581806', 's330539299'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 50] |
p03145 | u662449766 | 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\n\ninput = sys.stdin.readline\n\n\ndef main():\n a, b, c = map(int, input().split())\n print(a * b / 2)\n\n\nif __name__ == "__main__":\n main()\n', 'import sys\n\ninput = sys.stdin.readline\n\n\ndef main():\n a, b, c = map(int, input().split())\n print(a * b // 2)\n\n\nif __name__ == "__mai... | ['Wrong Answer', 'Accepted'] | ['s104626658', 's571103656'] | [2940.0, 2940.0] | [17.0, 17.0] | [154, 155] |
p03145 | u662576871 | 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)\n', 'a, b, c = map(int, input())\n\nprint(a * b / 2)\n', 'a, b, c = map(int, input().split())\n\nprint(int(a * b / 2))\n'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s371978889', 's543024524', 's977852571'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [54, 46, 59] |
p03145 | u663014688 | 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(BC * AB / 2)', 'AB, BC, CA = map(int, input().split())\nprint(int(BC * AB / 2))'] | ['Wrong Answer', 'Accepted'] | ['s482710978', 's410541807'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 62] |
p03145 | u665038048 | 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 = list(map(int, input().split()))\na_list.sort()\nprint(a_list[0] * a_list[1]/2)', 'a_list = list(map(int, input().split()))\na_list.sort()\nprint(int(a_list[0] * a_list[1]/2))'] | ['Wrong Answer', 'Accepted'] | ['s403940809', 's547109177'] | [3060.0, 2940.0] | [20.0, 17.0] | [85, 90] |
p03145 | u667949809 | 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'] | ['s865196864', 's674561698'] | [3316.0, 3316.0] | [18.0, 19.0] | [45, 50] |
p03145 | u668503853 | 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)', 's=int(input())\nli=[s]\nfor i in range(1000000):\n if s%2==0:\n s=s//2\n else:\n s=3*s+1\n if s in li:\n print(i+2)\n break\n li.append(s)\n', 'ab,bc,ca=map(int,input().split())\nprint(ab*bc//2)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s002779561', 's065842493', 's881856167'] | [3060.0, 2940.0, 2940.0] | [21.0, 17.0, 17.0] | [48, 145, 49] |
p03145 | u668705838 | 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*0.5)', 'c,a,b = map(int, input().split())\nprint(int(c*a*0.5))'] | ['Wrong Answer', 'Accepted'] | ['s849666376', 's945402561'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 53] |
p03145 | u669173971 | 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'] | ['s887555369', 's085548588'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 52] |
p03145 | u670180528 | 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=map(int,input().split())\nprint(a[0]*a[1]//2)', 'a,b,c=map(int,input().split());print(a*b//2)'] | ['Runtime Error', 'Accepted'] | ['s831325622', 's908452226'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 44] |
p03145 | u670567845 | 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())\nreturn (A*B)//2', 'A, B, C = map(int, input().split())\nprint((A*B)//2)'] | ['Runtime Error', 'Accepted'] | ['s832462240', 's499025874'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 51] |
p03145 | u670961163 | 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())\ndai = max(a,b,c)\nshou = min(a,b,c)\nmid = a + b + c - dai - shou\n\nprint(shou * mid / 2)\n', 'a, b, c = map(int, input().splis())\ndai = max(a,b,c)\nshou = min(a,b,c)\nmid = a + b + c - dai - shou\n\nprint(shou * mid / 2)', 'a, b, c = map(int, input().split())\ndai = max(a,b,c)\... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s234848765', 's828691242', 's121999880'] | [9108.0, 8888.0, 9140.0] | [30.0, 22.0, 30.0] | [123, 122, 124] |
p03145 | u672475305 | 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)', 'lst = [int(i) for i in input().split()]\nlst.sort()\nm = lst[0]*lst[1]/2\nprint(m)', 'lst = [int(i) for i in input().split()]\nlst.sort()\nm = lst[0]*lst[1]/2\nprint(m)', 'a,b,c = map(int,input().split())\nprint(a*b//2)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s343394651', 's613611404', 's975611021', 's567621549'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 20.0, 19.0] | [45, 79, 79, 46] |
p03145 | u672882146 | 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'] | ['s037440753', 's676302411'] | [2940.0, 2940.0] | [18.0, 17.0] | [44, 49] |
p03145 | u673338219 | 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(int(x*y/2))'] | ['Wrong Answer', 'Accepted'] | ['s490000580', 's439459150'] | [3060.0, 2940.0] | [19.0, 18.0] | [45, 50] |
p03145 | u674885198 | 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. | ['n1, n2, n3 = list(map(int, input().split())) \nprint(n1*n2/2)', 'n1, n2, n3 = list(map(int, input().split())) \nprint(int(n1*n2/2))'] | ['Wrong Answer', 'Accepted'] | ['s268103098', 's880649625'] | [3316.0, 3064.0] | [22.0, 17.0] | [60, 65] |
p03145 | u675918663 | 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\n\nfor line in sys.stdin:\n nbs = line.split(' ')\n print(int(nbs[0]) * int(nbs[1]) / 2)", 'import sys\nlist(map(lambda n: print(int(n[0]) * int(n[1]) / 2, map(str.split, sys.stdin)))', "import sys\n \nfor line in sys.stdin:\n nbs = line.split(' ')\n print(int(nbs[0]) * int(nbs[1]) // 2)"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s640649260', 's680544478', 's337716392'] | [2940.0, 2940.0, 2940.0] | [19.0, 18.0, 18.0] | [97, 90, 99] |
p03145 | u677121387 | 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())\n\nans = c*b/2\nprint(ans)', 'ab,bc,ca = map(int,input().split())\n\nans = ab*bc/2\nprint(ans)', 'ab,bc,ca = map(int,input().split())\n\nans = ab*bc//2\nprint(ans)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s448435733', 's642282162', 's180587444'] | [2940.0, 2940.0, 2940.0] | [18.0, 19.0, 17.0] | [56, 61, 63] |
p03145 | u677523557 | 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'] | ['s704052667', 's501778711'] | [3188.0, 2940.0] | [18.0, 17.0] | [61, 66] |
p03145 | u677705680 | 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. | ['D = int(input())\n\nnum = 25 - D\ns = "Christmas"\ns += " Eve" * num\n\nprint(s)', 'ab, bc, ca = map(int, input().split())\n\nS = ab * bc / 2\nprint(S)', 'ab, bc, ca = map(int, input().split())\n\nS = ab * bc / 2\nprint(S)', 'ab, bc, ca = map(int, input().split())\n\nS = int(ab * bc / 2)\nprint(S)'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s580081994', 's627090065', 's733020813', 's218543090'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [74, 64, 64, 69] |
p03145 | u681110193 | 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'] | ['s085054390', 's453689732'] | [3064.0, 2940.0] | [20.0, 20.0] | [43, 48] |
p03145 | u681150536 | 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 main():\n N, K = map(int, input().split())\n td = []\n for _ in range(N):\n ti, di = map(int, input().split())\n td.append([ti, di])\n td.sort(key=lambda x: -x[1])\n num = 0\n kind = set()\n changable = []\n for i in range(K):\n num += td[i][1]\n if td[i][0] in ... | ['Runtime Error', 'Accepted'] | ['s116585801', 's135943596'] | [3064.0, 3316.0] | [18.0, 20.0] | [709, 123] |
p03145 | u681502232 | 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. | ['#116A\n\na, b, c = (int(x) for x in input().split())\n\n\nmenseki = a * b / 2\n\nprint(menseki)', '#116A\n\na, b, c = (int(x) for x in input().split())\n\n\nmenseki = a * b / 2\n\nprint(int(menseki))'] | ['Wrong Answer', 'Accepted'] | ['s845033048', 's327830108'] | [9132.0, 9152.0] | [30.0, 29.0] | [132, 137] |
p03145 | u685662874 | 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*0.5)', 'ab,bc,ca=map(int,input().spit())\nprint(ab*bc*0.5)', 'ab,bc,ca=map(int,input().split())\nprint(int(ab*bc*0.5))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s191195831', 's899031092', 's228469450'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0] | [50, 49, 55] |
p03145 | u686036872 | 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)', 'X, Y, Z = map(int, input().split())\nprint(X*Y/2)', 'X, Y, Z = map(int, input().split())\nprint(X*Y//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s298772006', 's716586486', 's122329638'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [46, 48, 49] |
p03145 | u691018832 | 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())\nans = ab * bc * 0.5\nprint(ans)', 'ab, bc, ca = map(int, input().split())\nprint(0.5 * ab * bc)', 'ab, bc, ca = map(int, input().split())\nans = ab * bc * 0.5\nprint(int(ans))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s042304220', 's996118782', 's533167795'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [69, 59, 74] |
p03145 | u691896522 | 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 = list(map(int, input().split()))\nn.sort()\nprint(n[0] * n[1] / 2)', 'n = list(map(int, input().split()))\nn.sort()\nprint(n[0] * n[1] // 2)\n'] | ['Wrong Answer', 'Accepted'] | ['s234708006', 's051608149'] | [2940.0, 3316.0] | [17.0, 21.0] | [67, 69] |
p03145 | u693105608 | 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()))\n\nprint((a*b)/2)', 'a, b, c = list(map(int, input().split()))\n \nprint(int((a*b)/2))'] | ['Wrong Answer', 'Accepted'] | ['s092741246', 's888118492'] | [9144.0, 9156.0] | [26.0, 29.0] | [57, 63] |
p03145 | u693933222 | 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\nif (A*A+B*B==C*C):\n print(A*B/2)\nelif (A*A+C*C==B*B):\n print(A*C/2)\nelse:\n print(B*C/2)\n', 'A, B, C = int(input())\n\nif (A*A+B*B==C*C):\n print(A*B/2)\nelif (A*A+C*C==B*B):\n print(A*C/2)\nelse:\n print(B*C/2)\n', 'A, B, C = map(int,input().split())\n\nif... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s252138874', 's264327085', 's844866795'] | [2940.0, 2940.0, 3060.0] | [17.0, 20.0, 19.0] | [133, 121, 138] |
p03145 | u695857481 | 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'] | ['s566736653', 's250466218'] | [2940.0, 2940.0] | [18.0, 17.0] | [53, 53] |
p03145 | u696444274 | 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. | ['data = list(map(int,input().split()))\n\nprint(data[0]*data[1]/2)\n', 'data = list(map(int,input().split()))\n\nprint(int(data[0]*data[1]/2))\n'] | ['Wrong Answer', 'Accepted'] | ['s804740019', 's792760688'] | [2940.0, 2940.0] | [18.0, 17.0] | [64, 69] |
p03145 | u696728636 | 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 sq(a, b, c):\n return a*b/2\n\na, b, c = map(int, input().split())\nprint(sq(a, b, c))', 'a, b, c = map(int, input().split())\n\nprint(int(a*b//2))'] | ['Wrong Answer', 'Accepted'] | ['s538163241', 's660248077'] | [2940.0, 2940.0] | [17.0, 19.0] | [87, 55] |
p03145 | u698176039 | 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)'] | ['Wrong Answer', 'Accepted'] | ['s720326480', 's620835080'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 48] |
p03145 | u698771758 | 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'] | ['s338379722', 's462399550'] | [3064.0, 2940.0] | [18.0, 17.0] | [43, 48] |
p03145 | u698919163 | 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\nmaxL = max(A,B,C)\nminL = min(A,B,C)\nmidium = A+B+C - maxL - minL\n\nprint(minL*midium/2)', 'A,B,C = map(int,input().split())\n\nmaxL = max(A,B,C)\nminL = min(A,B,C)\nmidium = A+B+C - maxL - minL\n\nprint(int(minL*midium/2))'] | ['Wrong Answer', 'Accepted'] | ['s184455292', 's214763376'] | [2940.0, 3060.0] | [17.0, 17.0] | [120, 125] |
p03145 | u700806147 | 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()))\nprintln((A[0]*A[1])//2)', 'A = list(map(int, input().split()))\nprint((A[0]*A[1])//2)'] | ['Runtime Error', 'Accepted'] | ['s854369789', 's557377540'] | [2940.0, 2940.0] | [17.0, 18.0] | [59, 57] |
p03145 | u701318346 | 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\nif a > b and a > c:\n print(b * c / 2)\nelif b > a and b > c:\n print(a * c / 2)\nelse:\n print(a * c / 2)\n', 'a, b, c = map(int, input().split())\n\nif a > b and a > c:\n print(b * c / 2)\nelif b > a and b > c:\n print(a * c / 2)\nelse:\n print(a * b / 2)\n', 'a, b, c = ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s030038264', 's069453763', 's193603816', 's240858079', 's192535202'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 18.0] | [142, 142, 129, 145, 145] |
p03145 | u702208001 | 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'] | ['s386104525', 's451376500'] | [2940.0, 2940.0] | [17.0, 18.0] | [52, 53] |
p03145 | u703110933 | 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))'] | ['Wrong Answer', 'Accepted'] | ['s576054425', 's200090052'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 49] |
p03145 | u705418271 | 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)', 'a,b,c=map(int,input().split())\nprint(a*b*0.5)', 'a,b,c=map(int,input().split())\nprint(a*b//2)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s002623947', 's694910186', 's553269351'] | [9060.0, 9092.0, 9076.0] | [29.0, 28.0, 28.0] | [45, 45, 44] |
p03145 | u705621008 | 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', 'ab, bc, ca = map(int, input().split())\nprint(int(ab * bc / 2))\n'] | ['Wrong Answer', 'Accepted'] | ['s377549787', 's801482652'] | [2940.0, 2940.0] | [18.0, 18.0] | [59, 63] |
p03145 | u706414019 | 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 = sorted(map(int,input().split()))\nprint(AB*BC/2)\n', 'AB,BC,CA = sorted(map(int,input().split()))\nprint(AB*BC//2)'] | ['Wrong Answer', 'Accepted'] | ['s802946140', 's401849588'] | [9032.0, 9020.0] | [26.0, 27.0] | [59, 59] |
p03145 | u707124227 | 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 ', 'from collections import deque\nn,k= map(int,input().split())\ntd=[]\nfor i in range(n):\n td.append(list(map(int,input().split())))\ntd.sort(key=lambda x:x[1],reverse=True)\nselect=[]\nnoselect=[]\ncat=[]\nfor tdi in td:\n if tdi[0] in cat:\n no... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s155608275', 's410412435', 's848388175', 's533953550'] | [2940.0, 3316.0, 3316.0, 2940.0] | [17.0, 20.0, 21.0, 17.0] | [54, 465, 1006, 56] |
p03145 | u708615801 | 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. | ['from math import pow\n\n\n\n\n\n\ndef compute_score(target_collection):\n keys = {neta_point[0] for neta_point in target_collection}\n points = [neta_point[1] for neta_point in target_collection]\n cardinality = len(keys)\n score = pow(cardinality, 2) + sum(points)\n return score\n\n# exchange one reco... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s653651027', 's844745247', 's502820395'] | [3064.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [1656, 48, 49] |
p03145 | u709304134 | 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\nimport copy\nN, K = map(int,input().split())\nT = []\nD = []\nls_td = []\nfor n in range(N):\n t, d = map(int,input().split())\n ls_td.append([t,d])\nls_td = sorted(ls_td, key=lambda x: x[1])[::-1]\nhead = ls_td[:K]\ntail = ls_td[K:]\ndef get_set(mat):\n st = set()\n for t,d in mat:\n ... | ['Runtime Error', 'Accepted'] | ['s651148813', 's468922362'] | [3444.0, 3060.0] | [22.0, 17.0] | [1073, 116] |
p03145 | u710397511 | 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\nAs=input()\nBs=input()\nCs=input()\na=int(As)\nb=int(Bs)\nprint(a*b/2)', 'As=input()\nBs=input()\nCs=input()\na=int(As)\nb=int(Bs)\nprint(a*b/2)', '#coding:UTF-8\nAs=input()\nBs=input()\nCs=input()\na=int(As)\nb=int(Bs)\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s050717117', 's626346830', 's673423704', 's323242671'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 20.0] | [79, 65, 79, 44] |
p03145 | u711539583 | 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. | ['hs = map(int, input().split())\nhs.sort()\nprint(hs[0] * hs[1] // 2)', 'hs = list(map(int, input().split()))\nhs.sort()\nprint(hs[0] * hs[1] // 2)\n'] | ['Runtime Error', 'Accepted'] | ['s681757131', 's082691830'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 73] |
p03145 | u712868001 | 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(AB*BC/2)', 'AB,BC,CA = map(int, input().split())\nprint(AB*BC//2)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s362021679', 's618252689', 's510734221'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [48, 51, 52] |
p03145 | u713101397 | 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 = list(map(int(i) for i in input().split))\n\nprint(ab * bc / 2)', 'ab, bc, ca = map(int(i) for i in input().split)\n\nprint(ab * bc / 2)', 'ab, bc, ca = map(int,input().split())\n\nprint(int(ab * bc / 2))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s058692872', 's527841139', 's980011663'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [73, 67, 62] |
p03145 | u716649090 | 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)', 'a, b, c = map(int, input().split())\nprint(a * b // 2)'] | ['Wrong Answer', 'Accepted'] | ['s899120036', 's083606897'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 53] |
p03145 | u717265305 | 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 math\nAB,BC,CA = map(int, input().split())\ns = (AB+BC+CA)/2\nS = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))\nprint(S)', 'import math\nAB,BC,CA = map(int, input().split())\ns = (AB+BC+CA)/2\nS = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))\nprint(int(S))'] | ['Wrong Answer', 'Accepted'] | ['s217960597', 's709734382'] | [2940.0, 2940.0] | [18.0, 18.0] | [112, 117] |
p03145 | u717993780 | 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'] | ['s836842805', 's997619024', 's203845855'] | [2940.0, 3316.0, 2940.0] | [17.0, 19.0, 17.0] | [45, 45, 50] |
p03145 | u718096172 | 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()]\n\nprint(AB * BC / 2)\n', 'AB, BC, CA = [int(i) for i in input().split()]\n\nprint(int(AB * BC / 2))'] | ['Wrong Answer', 'Accepted'] | ['s006230208', 's438788880'] | [2940.0, 2940.0] | [18.0, 18.0] | [67, 71] |
p03145 | u718706790 | 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'] | ['s890567659', 's499907547'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 53] |
p03145 | u719840207 | 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=map(int,input().split())\nprint(max(a)-min(a))', 'a,b,c=sorted(map(int,input().split()),reverse=False)\nprint(a*b//2)'] | ['Runtime Error', 'Accepted'] | ['s176964629', 's718339590'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 66] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.