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
u720483676
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)']
['Wrong Answer', 'Accepted']
['s736978923', 's278002962']
[2940.0, 2940.0]
[18.0, 18.0]
[43, 44]
p03145
u722189950
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['#ABC116 A\nAB, BC, CA = map(int,input().split())\nprint(AB * BC / 2)', '#ABC116 A\nAB, BC, CA = list(map(int, input().split()))\nprint(AB*BC/2)\n', '#ABC117 A\nT, X = map(int, input().split())\nprint(T/X)\n', '#ABC116 A\nAB, BC, CA = list(map(int, input().split()))\nprint(AB * BC / 2)\n', '#ABC116 A\nAB, BC, CA = list(map(int, input().split()))\nprint(AB*BC//2)\n']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s253186861', 's664537180', 's821505021', 's905618802', 's335509002']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[66, 70, 54, 74, 71]
p03145
u724742135
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 sys import stdin\n \na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\nprint((a*b)/2)', 'from sys import stdin\n\na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\nprint((a*b)/2)', 'from sys import stdin\n \na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\nprint(int((a*b)/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s372862754', 's781491404', 's988426064']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[100, 99, 105]
p03145
u729133443
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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());print(a*b/2)', 'a,b,_=map(int,input().split())\nprint(a*b//2)']
['Wrong Answer', 'Accepted']
['s019606859', 's920225228']
[2940.0, 9072.0]
[17.0, 26.0]
[43, 44]
p03145
u729938879
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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( )\narea = int(a*b /2)\nprint(area)', 'a,b,c = map(int, input().split( ))\narea = int(a*b /2)\nprint(area)']
['Runtime Error', 'Accepted']
['s403772267', 's750779673']
[2940.0, 2940.0]
[18.0, 17.0]
[55, 65]
p03145
u730318873
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['s = int(input())\nx = 1\nif s == 1 or s == 2:\n print(4)\nelse:\n while not s == 4:\n if s % 2 != 0:\n s = 3 * s + 1\n x = x + 1\n \n else:\n s = s // 2\n x = x + 1\n \n \nprint(x + 3)', 'a,b,c = map(int,input().rstrip().split())\n\nprint(a * b // 2)']
['Runtime Error', 'Accepted']
['s565964093', 's589504567']
[2940.0, 2940.0]
[18.0, 17.0]
[261, 60]
p03145
u730710086
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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: <encoding name> -*-\n\na, b, c = map(int, input().split())\nprint(a * b / 2)', '# -*- coding: <encoding name> -*-\n\na, b, c = map(int, input().split())\nprint(a * c / 2)', '# -*- coding: <encoding name> -*-\n\na, b, c = map(int, input().split())\nprint(a * b // 2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s491116536', 's982888382', 's000671666']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[87, 87, 88]
p03145
u731368968
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['l = list(map(int, input().split()))\nl.sort()\nprint(l[0]*l[2]//2)', 'l = list(map(int, input().split()))\nl.sort()\nprint(l[0]*l[1]//2)']
['Wrong Answer', 'Accepted']
['s702059739', 's537671562']
[2940.0, 3316.0]
[17.0, 21.0]
[64, 64]
p03145
u731665172
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s053575046', 's879298623']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 49]
p03145
u732870425
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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\nans = ab * bc / 2\nprint(ans)', 'ab, bc, ca = map(int, input().split())\n\nans = ab * bc // 2\nprint(ans)']
['Wrong Answer', 'Accepted']
['s567187761', 's710219795']
[3060.0, 3060.0]
[19.0, 20.0]
[68, 69]
p03145
u733774002
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['s = int(input())\nan = []\nan.append(s)\nn = s\nwhile an.count(4) != 2:\n if n % 2 == 0:\n n /= 2\n an.append(int(n))\n else:\n n = 3 * n + 1\n an.append(int(n))\nif an.index(1 or 2) == 0:\n print(4)\nelse:\n print(an.index(4) + 4)\n', 'x, y, z = map(int, input()split())\nprint(x * y / 2)\n', 's = int(input())\nan = []\nan.append(s)\nn = s\nwhile an.count(4) != 2:\n if n % 2 == 0:\n n /= 2\n an.append(int(n))\n else:\n n = 3 * n + 1\n an.append(int(n))\nprint(an.index(4) + 4)', 'x, y, z = map(int, input().split())\nprint(x * y / 2)\n', 'x, y, z = map(int, input().split())\ns = x * y / 2\nprint(s)\n', 's = int(input())\nan = []\nan.append(s)\nn = s\nwhile an.count(1 or 2 or 4) != 2:\n if n % 2 == 0:\n n /= 2\n an.append(int(n))\n else:\n n = 3 * n + 1\n an.append(int(n))\nprint(an.index(4) + 4)\n\n', 's = int(input())\nan = []\nan.append(s)\nn = s\nwhile an.count(1 or 2 or 4) != 2:\n if n % 2 == 0:\n n /= 2\n an.append(int(n))\n else:\n n = 3 * n + 1\n an.append(int(n))\nprint(an.index(4) + 4)\n', 's = int(input())\nan = []\nan.append(s)\nn = s\nwhile an.count(4) != 2:\n if n % 2 == 0:\n n /= 2\n an.append(int(n))\n else:\n n = 3 * n + 1\n an.append(int(n))\nprint(an.index(4) + 4)\n\n', 'x, y, z = int(input()split())\nprint(x * y / 2)\n', 'x, y, z = map(int, input().split())\nprint(int(x * y / 2))\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s174683495', 's227771779', 's314691683', 's421679745', 's439950267', 's469737922', 's475530185', 's500466697', 's965490496', 's188767996']
[2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0]
[258, 52, 208, 53, 59, 220, 219, 210, 47, 58]
p03145
u733837151
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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())\nAB * BC / 2', 'AB, BC, CA = map(int,input().split())\nanswer = AB * BC / 2\nprint(int(answer))']
['Wrong Answer', 'Accepted']
['s982948663', 's918622178']
[8972.0, 9152.0]
[26.0, 26.0]
[49, 77]
p03145
u734485933
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 - Right Triangle\n\n\ndef main():\n s = input()\n ret = solve(s)\n print(ret)\n\n\ndef solve(s):\n ary = list(map(int, s.split()))\n ary.sort()\n return ary[0] * ary[1] / 2\n\n\nmain()\n', '# A - Right Triangle\n\n\ndef main():\n s = input()\n ret = solve(s)\n print(ret)\n\n\ndef solve(s):\n ary = list(map(int, s.split()))\n ary.sort()\n return ary[0] * ary[1] // 2\n\n\nmain()\n']
['Wrong Answer', 'Accepted']
['s138469834', 's672751156']
[2940.0, 2940.0]
[18.0, 18.0]
[192, 193]
p03145
u734876600
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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().slplit())\n\nprint(a * b / 2)\n', 'a,b,c = map(int, input().slplit())\n\ns = a * b / 2\n\nprint(s)', 'a,b,c = 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', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s172447494', 's762396035', 's875995791', 's122080151']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[53, 59, 52, 53]
p03145
u736577709
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s583624414', 's122752418']
[9144.0, 9096.0]
[29.0, 27.0]
[43, 44]
p03145
u738898077
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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()))\nprint(a*b//2)', 'a,b,c = map(int,input().split())\nprint(a*b//2)']
['Runtime Error', 'Accepted']
['s553016400', 's360955200']
[3064.0, 2940.0]
[18.0, 18.0]
[39, 46]
p03145
u739721456
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['s=int(input())\na=[s]\nfor i in range(500):\n if a[i]%2==0:\n a.append(a[i]//2)\n else:\n a.append(a[i]*3+1)\nans=a.index(4)+4\nif s==1 or s==2:\n print(4)\nelse:\n print(ans)', 's=int(input())\na=[s]\nfor i in range(500):\n if a[i]%2==0:\n a.append(a[i]//2)\n else:\n a.append(a[i]*3+1)\nans=a.index(4)+4\nif s==1 or s==2:\n print(4)\nelse:\n print(ans)', 'ABClist=input().split()\nAB=int(ABClist[0])\nBC=int(ABClist[1])\nans=int(AB*BC/2)\nprint(ans)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s455573780', 's733195279', 's380592109']
[3060.0, 3060.0, 2940.0]
[18.0, 17.0, 17.0]
[190, 190, 89]
p03145
u739798900
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = input()\nabc_ls = abc.split()\na = int(abc_ls[0])\nb = int(abc_ls[1])\nprint( a * b / 2 )', 'abc = input()\nabc_ls = abc.split()\na = int(abc_ls[0])\nb = int(abc_ls[1])\ns = int(a * b / 2)\nprint( s )']
['Wrong Answer', 'Accepted']
['s806540604', 's843452077']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 102]
p03145
u740047492
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s581338766', 's915104534']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 50]
p03145
u742087517
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s065717710', 's494623388']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 48]
p03145
u742960659
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s932782617', 's692089959']
[9076.0, 8976.0]
[30.0, 31.0]
[45, 46]
p03145
u743272507
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(a)\nprint(a[0]*a[1]//2)', 'a = list(map(int,input().split()))\na = sorted(a)\nprint(a[0]*a[1]//2)\n']
['Runtime Error', 'Accepted']
['s119361780', 's070153434']
[2940.0, 2940.0]
[18.0, 18.0]
[66, 69]
p03145
u745562158
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s291547001', 's871795595']
[2940.0, 2940.0]
[17.0, 18.0]
[56, 56]
p03145
u746849814
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = sorted(list(map(int, input().split())))\nprint(A[0]*A[1]/2)', 'A = sorted(list(map(int, input().split())))\nprint(A[0]*A[1]//2)']
['Wrong Answer', 'Accepted']
['s681845661', 's574220719']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 63]
p03145
u747602774
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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()))\nli.sort()\nprint((li[0]*li[1])/2)\n', 'li=list(map(int,input().split()))\nli.sort()\nprint(li[0]*li[1])\n', 'li=list(map(int,input().split()))\nli.sort()\nprint((li[0]*li[1])//2)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s192888612', 's969195780', 's975368665']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[67, 63, 68]
p03145
u747873993
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = [0] + [int(i) for i in input().split()]\nresult = 0\nfor i in range(1, len(h)):\n if h[i] > h[i-1]:\n result += h[i] - h[i-1]\nprint(result)', 'a,b,c=(float(i) for i in input().split())\nprint(a*b/2)', 'A,B,C=(float(i) for i in input().split())\nprint(A*B/2)', 'A,B,C=(int(i) for i in input().split())\nprint(A*B/2)', 'a,b,c=(int(i) for i in input().split())\nprint(a*b/2)', 'A,B,C=(int(i) for i in input().split())\nprint(int(A*B/2))']
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s096244346', 's205141908', 's332649077', 's598860712', 's895424376', 's169267415']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 22.0]
[160, 54, 54, 52, 52, 57]
p03145
u748311048
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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*AC/2)', 'A,B,C=map(int, input().split())\nprint(A*B//2)']
['Wrong Answer', 'Accepted']
['s863624066', 's880685647']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 45]
p03145
u752898745
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)']
['Wrong Answer', 'Accepted']
['s084335109', 's958007569']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u756693875
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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())\nans = (ab * bc) / 2\nprint(ans)', 'ab,bc,ca=map(int,input().split())\nprint(ab * bc // 2)']
['Wrong Answer', 'Accepted']
['s828146479', 's122042266']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 53]
p03145
u756988562
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s509941676', 's762482913']
[2940.0, 2940.0]
[18.0, 18.0]
[45, 50]
p03145
u757014735
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s023761590', 's550729139', 's485560152']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[43, 41, 48]
p03145
u758475901
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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())\ns = (AB+BC+CA)/2\nimport math\nS = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))\nprint(S)', 'AB,BC,CA = map(int,input().split())\nprint(AB*BC//2)']
['Wrong Answer', 'Accepted']
['s474325445', 's069867330']
[3060.0, 2940.0]
[20.0, 17.0]
[111, 51]
p03145
u761087127
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(n) for n in input.split(" ")]\nprint(a*b/2)', '# -*- coding: utf-8 -*-\na,b,c = map(int, input().split())\nprint(a*b//2)\n']
['Runtime Error', 'Accepted']
['s536014725', 's639563906']
[3064.0, 3060.0]
[18.0, 20.0]
[55, 72]
p03145
u763249708
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['hen = list(map(int, input().split()))\n\nnaname = max(hen)\n\nif naname == hen[0]: print(hen[1]*hen[2]/2)\nelif naname == hen[1]: print(hen[0]*hen[2]/2)\nelse: print(hen[1]*hen[0]/2)\n ', 'hen = list(map(int, input().split()))\n\nnaname = max(hen)\n\nif naname == hen[0]: print(int(hen[1]*hen[2]/2))\nelif naname == hen[1]: print(int(hen[0]*hen[2]/2))\nelse: print(int(hen[1]*hen[0]/2))']
['Wrong Answer', 'Accepted']
['s432696182', 's219791506']
[2940.0, 3060.0]
[17.0, 18.0]
[181, 191]
p03145
u764956288
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s076860090', 's329578287']
[2940.0, 2940.0]
[18.0, 17.0]
[47, 53]
p03145
u765815947
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['p, q, r = map(int, input().split())\nprint(p*q/2)\n', 'p, q, r = map(int, input().split())\nprint(int(p*q/2))']
['Wrong Answer', 'Accepted']
['s871934454', 's301484230']
[2940.0, 2940.0]
[18.0, 18.0]
[49, 53]
p03145
u766235618
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int,input().split( ))\n\ns = (a * b)/2\n\nprint(s)', 'a,b,c = map(int,input().split( ))\n\ns = int((a * b)/2)\n\nprint(s)\n']
['Wrong Answer', 'Accepted']
['s279799433', 's967376460']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 64]
p03145
u768896740
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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()))\n\na = sorted(a)\nans = (a[0] * a[1])/2\n\nprint(ans)', 'a = list(map(int, input().split()))\n\na = sorted(a)\nans = (a[0] * a[1])/2\n\nprint(int(ans))']
['Wrong Answer', 'Accepted']
['s046240489', 's384052189']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 89]
p03145
u770300100
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s574826821', 's036522567']
[2940.0, 2940.0]
[18.0, 17.0]
[50, 55]
p03145
u770828422
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s277081809', 's360361612']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 57]
p03145
u771532493
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=(int(i) for i in input().split())\nt=sorted([a,b,c])\nprint(t[0]*t[1]/2)', 'a,b,c=(int(i) for i in input().split())\nt=[a,b,c].sort()\nprint(t[0]*t[1]/2)', 'a,b,c=(int(i) for i in input().split())\nt=sorted([a,b,c])\nprint(int(t[0]*t[1]/2))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s019942658', 's733196587', 's227826429']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 20.0]
[76, 75, 81]
p03145
u774985302
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = A.sort()\nprint(A[1]*A[2]/2)\n ', 'A=list(map(int,input().split()))\nA = A.sort\nprint(A[1]*A[2]/2)\n\n', 'A,B,C=map(int,input().split())\nprint(A*B/2)\n', 'A=list(map(int,input().split()))\nA.sort()\nprint(A[0]*A[1]/2)', 'A=list(map(int,input().split()))\nA.sort()\nprint(round(A[0]*A[1]/2))\n']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s327343369', 's332012360', 's525140920', 's897640091', 's488281894']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[66, 64, 44, 60, 68]
p03145
u776871252
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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\noutput = a * b / 2\nprint(int(output))']
['Wrong Answer', 'Accepted']
['s876463865', 's027663941']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 74]
p03145
u777394984
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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/c)', 'a,b,c=map(int,input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s230734022', 's557354689', 's231049289']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[44, 43, 48]
p03145
u777846995
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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\n\nprint(list1_0 * list1_1 / 2)\n', 'list1 = [int(a) for a in input().split()]\nlist1_0 = list1[0] #AB\nlist1_1 = list1[1] #BC\n\nprint(int(list1_0 * list1_1 / 2))\n']
['Wrong Answer', 'Accepted']
['s521053103', 's340713101']
[2940.0, 2940.0]
[19.0, 18.0]
[118, 123]
p03145
u777922433
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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=[int(i) for i in range(input)]\nprint(x*y/2)', 'x,y,z=[int(i) for i in input().split()]\nprint(int(x*y/2))']
['Runtime Error', 'Accepted']
['s754214844', 's651460318']
[2940.0, 2940.0]
[18.0, 17.0]
[49, 57]
p03145
u780698286
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a * b / 2)', 'a, b, c = map(int, input().split())\nprint((a * b) // 2)\n']
['Wrong Answer', 'Accepted']
['s884290485', 's411763814']
[9140.0, 9148.0]
[29.0, 29.0]
[52, 56]
p03145
u782138812
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s329671411', 's712518934']
[2940.0, 2940.0]
[18.0, 18.0]
[52, 57]
p03145
u782654209
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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,x = map(int, input().split(' '))\nprint(str(a*b/2))", "a,b,x = map(int, input().split(' '))\ns = int(a*b/2)\nprint(str(s))"]
['Wrong Answer', 'Accepted']
['s263958907', 's692644265']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 65]
p03145
u791489811
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s473006891', 's208037451']
[3064.0, 2940.0]
[17.0, 17.0]
[50, 51]
p03145
u791527495
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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()))\nA =li[0]\nB = li[1]\nprint(A * B / 2)', 'li = list(map(int,input().split()))\nA =li[0]\nB = li[1]\nprint(int(A * B / 2))']
['Wrong Answer', 'Accepted']
['s379987775', 's086160885']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 76]
p03145
u793633137
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
[' 1 x,y,z=list(map(int,input().split()))\n 2 print(x*y/2) ', 'x,y,z=list(map(int,input().split())) \nprint(int(x*y/2)) \n']
['Runtime Error', 'Accepted']
['s225639559', 's600046561']
[2940.0, 2940.0]
[17.0, 18.0]
[59, 135]
p03145
u794173881
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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= map(int,input().split())\nprint(a*b/2)', 'a,b,c= map(int,input().split())\nprint(a*b//2)\n\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s134344665', 's574581612', 's640608968']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[41, 44, 47]
p03145
u794921280
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = input("a:")\nb = input("b:")\nc = input("c:")\n\nprint(int(int(a)*int(b)/2))\n', 'a = input()\nb = input()\nc = input()\n\nprint(int(a)*int(b)/2)\n', 'a = input("a:")\nb = input("b:")\nc = input("c:")\n\nprint(int(int(a)*int(b)/2))\n', 'AB,BC,CA = map(int,input().split())\nprint(AB*BC/2)\n', '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']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s108741975', 's429731418', 's594967376', 's736141395', 's971282779', 's821353572']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0]
[77, 60, 77, 51, 52, 56]
p03145
u795323188
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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', 'a,b,c = map(int,input(.split()))\nprint(a*b/2)\n', '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', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s178637224', 's507558594', 's577499247', 's682713882', 's819731891']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[46, 46, 46, 48, 47]
p03145
u798181098
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['[print(a*b/2)for a,b,_ in[[*map(int,input().split())]]]', '[print(a*b/2)for a,b,_ in[set(map(int,input().split()))]]', '[print(a*b//2)for a,b,_ in[list(map(int,input().split()))]]']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s764522561', 's908528084', 's713622591']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[55, 57, 59]
p03145
u798316285
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s433723903', 's363582907']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 48]
p03145
u800780376
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = input().split(" ")\na = int(inp[0])\nb = int(inp[1])\nprint(a*b/2)', 'inp = input().split(" ")\na = int(inp[0])\nb = int(inp[1])\nprint(int(a*b/2))']
['Wrong Answer', 'Accepted']
['s672761810', 's792430354']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 74]
p03145
u801106491
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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())\nS=x*y/2', 'import math\nx,y,z=map(int,input().split())\nS=round(x*y/2)\nprint(S)']
['Wrong Answer', 'Accepted']
['s379576446', 's741436311']
[2940.0, 2940.0]
[17.0, 18.0]
[38, 66]
p03145
u802963389
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b , c = map(int(input().split()))\nans = a * b // 2\nprint(ans)', 'a, b, c = map(int, input().split())\nans = a * b // 2\nprint(ans)\n']
['Runtime Error', 'Accepted']
['s765195723', 's533531009']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 64]
p03145
u802977614
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(map(int,input().split()))\nans=0\n\ndef f(li):\n global ans\n \n \n if li==[]:\n del li\n return\n \n \n min_num=min(li)\n if min(li)>0:\n count+=min(li)\n li=list(map(lambda x: x-min(li), li))\n li=[li[:li.index(0)],li[li.index(0)+1:]]\n f(li[0])\n f(li[1])\n\nf(h)\nprint(count)', 'S =list(map(int, input().split()))\nprint(int(S[0]*S[1]/2))']
['Runtime Error', 'Accepted']
['s580558500', 's666588980']
[3064.0, 2940.0]
[19.0, 17.0]
[324, 58]
p03145
u803481017
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)', 'AB,BC,CA = map(int,input().split())\nprint(int(AB*BC*1/2))']
['Wrong Answer', 'Accepted']
['s187360869', 's107478721']
[2940.0, 2940.0]
[18.0, 18.0]
[52, 57]
p03145
u804048521
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(X) * int(Y) /2)', 'X, Y, Z = map(int, input().split())\nprint(int(int(X) * int(Y) /2))']
['Wrong Answer', 'Accepted']
['s300966607', 's746123052']
[2940.0, 2940.0]
[17.0, 17.0]
[61, 66]
p03145
u809849468
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = input()\ny = x.split(" ")\ntriangle = [int(i) for i in y]\nmax_index = -1\nmax = 0\nfor line in range(len(triangle)):\n if(triangle[line] > max):\n max = triangle[line]\n max_index = line\ndel triangle[max_index]\n\nprint(triangle[0] * triangle[1] / 2)\n', 'x = input()\ny = x.split(" ")\ntriangle = [int(i) for i in y]\nmax_index = -1\nmax = 0\nfor line in range(len(triangle)):\n if(triangle[line] > max):\n max = triangle[line]\n max_index = line\ndel triangle[max_index]\n\nprint(int(triangle[0] * triangle[1] / 2))\n']
['Wrong Answer', 'Accepted']
['s427821151', 's503782752']
[3060.0, 3060.0]
[18.0, 18.0]
[263, 268]
p03145
u810066979
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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\nimport math\nimport itertools\n\nab,bc,ca=list(map(int,input().split()))\n\nprint((ab*bc)/2)', 'import sys\nimport math\nimport itertools\n\nab,bc,ca=list(map(int,input().split()))\n\nprint(int((ab*bc)/2))']
['Wrong Answer', 'Accepted']
['s553031321', 's093591704']
[3188.0, 3060.0]
[19.0, 17.0]
[98, 103]
p03145
u812803774
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s235628397', 's721590965']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 57]
p03145
u813371068
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c = map(int,input().split())\nprint(int(a*b/2)', 'a,b,c = map(int,input().split())\nprint(a*b/2)', 'a,b,c = map(int,input().split())\nprint(a*b//2)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s072732154', 's312817375', 's915529910']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[49, 45, 46]
p03145
u814781830
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a*b/2)', 'n = int(input())\nh = [int(i) for i in input().split()]\nimport numpy as np\n\nh = np.array(h)\nzero = np.array([int(0) for i in range(len(h))])\n\ndef calc(h, zero, minus):\n for k in range(len(h)):\n if minus[k] != 0:\n if k == len(h) - 1:\n zero[k] = zero[k] + 1\n return\n for w in range(k+1, len(h)):\n if minus[w] == 0:\n zero[k:w] = zero[k:w] + 1\n return\n elif w == len(h) - 1:\n zero[k::] = zero[k::] + 1\n return\n\ndef main(h, zero):\n i = 0\n minus = h - zero\n while np.sum(minus) != 0:\n calc(h ,zero, minus)\n i += 1\n minus = h - zero\n print(i)\n\nmain(h, zero)', 'a, b, c = map(int, input().split())\n\nprint(a * b / 2)', 'a, b, c = map(int, input().split())\nprint(int(a*b/2))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s257071799', 's291248813', 's519609729', 's578179489']
[2940.0, 3064.0, 2940.0, 2940.0]
[17.0, 21.0, 18.0, 18.0]
[48, 750, 53, 53]
p03145
u814986259
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s102910273', 's748981258']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 47]
p03145
u815666840
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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())\nsquare = int(ab*bc/2)\nprint(square)\n']
['Wrong Answer', 'Accepted']
['s941765007', 's935221109']
[2940.0, 2940.0]
[17.0, 17.0]
[51, 72]
p03145
u816587940
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = list(map(int, input().split()))\nprint(a * b / 2)', 'a, b, c = list(map(int, input().split()))\nprint(int(a * b / 2))']
['Wrong Answer', 'Accepted']
['s098259917', 's923472937']
[2940.0, 2940.0]
[17.0, 18.0]
[58, 63]
p03145
u816631826
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['line = input()\nsides = [int(n) for n in line.split()]\nsides.sort()\narea = round(sides[0] * sides[1])/2\nprint(area)', 'num = [int(n) for n in line.split()]\nsides = [num_a, num_b, num_c]\nsides.sort()\narea = round(sides[0] * sides[1])/2\nprint(area)', 'triangulo = input()\nlados = triangulo.split()\nAB = lados[0]\nBC = lados[1]\narea = (int(AB) * int(BC))/2\nprint("%.0f" % area)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s654565232', 's910356379', 's060263321']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[114, 127, 123]
p03145
u816878803
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s082603025', 's681423709']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 53]
p03145
u816919571
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)/c)', 'a,b,c = map(int,input().split(" "))\nprint(int((a*b)/2))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s471325643', 's982208471', 's484457142']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[48, 48, 55]
p03145
u817703856
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['k = input().split()\na = k[0]\nb = k[1]\nc = k[2]\nSum = 0\nh = max(k)\n\nBuf = 1\ndel k[k.index(h)]\nprint(k)\nfor i in k:\n Buf = Buf * int(i)\nr = Buf/2\nprint(int(r))', 'k = input().split()\na = k[0]\nb = k[1]\nc = k[2]\nSum = 0\nh = max(k)\n\nBuf = 1\ndel k[k.index[h]]\n\nfor i in k:\n buf = Buf*i\n\nprint(int(buf/2))', 'k = input().split()\na = k[0]\nb = k[1]\nc = k[2]\nSum = 0\nh = max(k)\n\nBuf = 1\ndel k[k.index(h)]\nfor i in k:\n buf = Buf * int(i)\nr = buf/2\nprint(int(r))', 'k = input().split()\na = k[0]\nb = k[1]\nc = k[2]\nfor i in range(len(k)):\n k[i] = int(k[i])\nh = max(k)\n\nBuf = 1\ndel k[k.index(h)]\n\nfor i in k:\n Buf = Buf * int(i)\nr = Buf/2\nprint(int(r))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s156769040', 's644151739', 's900354805', 's988710319']
[3064.0, 3060.0, 3060.0, 3064.0]
[18.0, 17.0, 18.0, 17.0]
[160, 140, 151, 189]
p03145
u819529201
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b=map(int,input().split())\nprint(a*b//2)\n', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n']
['Runtime Error', 'Accepted']
['s478420354', 's353931783']
[2940.0, 2940.0]
[18.0, 17.0]
[43, 45]
p03145
u819710930
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s623686909', 's944533380']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u819939299
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s684095412', 's939036867']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 45]
p03145
u822044226
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s492764871', 's215262174']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 51]
p03145
u822064637
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
["ab,bc,ca = map(int,input().split(' '))\n\nprint((ab * bc /2))\n\n", "ab,bc,ca = map(int,input().split(' '))\n\nprint(int(ab * bc /2))\n\n"]
['Wrong Answer', 'Accepted']
['s491594860', 's525642354']
[2940.0, 3064.0]
[17.0, 18.0]
[61, 64]
p03145
u824237520
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 operator import itemgetter\n\nn, k = map(int, input().split())\ntd = [tuple(int(x) for x in input().split()) for _ in range(n)]\n\na = sorted(td, key=itemgetter(1), reverse=True)\n\nans = [0]\ns = set()\nt = []\nfor i in range(k):\n ans[0] += a[i][1]\n if a[i][0] not in s:\n s.add(a[i][0])\n else:\n t.append(a[i][1])\n\np = len(s)\nq = len(t) - 1\n\nif q < 0:\n print(ans[0] + k * k)\n exit()\n\nv = []\nfor i in range(k, n):\n if a[i][0] not in s:\n s.add(a[i][0])\n v.append(a[i][1])\n\nans[0] += p * p\nd = 0\n\nfor x in v:\n ans.append(ans[d] + x - t[q] + (p + 1) * (p + 1) - p * p)\n p += 1\n d += 1\n q -= 1\n if q < 0:\n break\n\nprint(max(ans))', 'a = list(map(int, input().split()))\n\na = sorted(a)\n\nprint(a[0] * a[1] // 2)']
['Runtime Error', 'Accepted']
['s813865429', 's759961230']
[3064.0, 2940.0]
[18.0, 17.0]
[686, 75]
p03145
u827141374
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s342652694', 's486286538']
[2940.0, 2940.0]
[17.0, 18.0]
[53, 58]
p03145
u835482198
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['As = list(sorted(map(int, input().split())))\nprint((As[0] + As[1] // 2))\n', 'As = list(sorted(map(int, input().split())))\nprint((As[0] * As[1] // 2))\n']
['Wrong Answer', 'Accepted']
['s894332385', 's995833831']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 73]
p03145
u839270538
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = list(sorted([int(x) for x in input().split]))\nprint(inp[0]*inp[1]/2)', 'inp = list(sorted([int(x) for x in input().split()]))\nprint(inp[0]*inp[1]/2)\n', 'inp = list(sorted([int(x) for x in input().split()]))\nprint((inp[0]*inp[1])//2)\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s129508052', 's615856956', 's934235051']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[74, 77, 80]
p03145
u841531687
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s589297792', 's716226423']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 53]
p03145
u843932857
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['l=list(map(int,input().split()))\nl.remove(max(l))\nprint(l[0]*l[1])\n', 'l=list(map(int,input().split()))\nl.remove(max(l))\nprint(l[0]*l[1]/2)\n', 'l=map(int,input().split())\nl.remove(max(l))\nprint(l[0]*l[1])\n', 'l=list(map(int,input().split()))\nl.remove(max(l))\nprint(l[0]*l[1]//2)\n']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s313802140', 's498735244', 's966983749', 's387725623']
[2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0, 17.0]
[67, 69, 61, 70]
p03145
u844646164
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a, b, c = map(int, input().split())\nprint(a*b/2)', 'a, b, c = map(int, input().split())\nprint(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s768428363', 's274039816']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 50]
p03145
u845620905
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['s = list(map(int, input().split()))\nprint(s[0]*s[1] /2)\n ', 's = list(map(int, input().split()))\ns.sort()\nprint(s[0]*s[1]/2)\n ', 's = list(map(int, input().split()))\ns.sort()\nprint(int(s[0]*s[1]/2))\n ']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s542102809', 's909319301', 's677591148']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[65, 73, 78]
p03145
u846218099
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s855749445', 's934350947']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03145
u847165882
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(s) for s in input().split()]\nprint(AB*BC/2)', 'AB,BC,CA=[int(s) for s in input().split()]\nprint(int(AB*BC/2))']
['Wrong Answer', 'Accepted']
['s541568236', 's632499744']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 62]
p03145
u853900545
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['a,b,c=map(int,input().split())\nprint(a*b/2)', 'a,b,c=map(int,input().split())\nprint(a*b//2)\n']
['Wrong Answer', 'Accepted']
['s161230291', 's126054431']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 45]
p03145
u856169020
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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']
['s623884046', 's293030592']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 62]
p03145
u857330600
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['l=list(map(int,input().split()))\nl.sort()\nprint(l[0]*l[1]/2)', 'l=list(map(int,input().split()))\nl.sort()\nprint(l[0]*l[1]//2)']
['Wrong Answer', 'Accepted']
['s678959673', 's352922774']
[2940.0, 2940.0]
[18.0, 17.0]
[60, 61]
p03145
u858670323
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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(' '))\nx = a*b/2\nprint(x)", 'a,b,c = map(int,input().split())\nprint(a*b/2)', "a,b,c = map(int,input().split(' '))\nx = a*b//2\nprint(x)"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s113875436', 's421274017', 's810064780']
[9152.0, 9088.0, 9148.0]
[25.0, 26.0, 29.0]
[54, 45, 55]
p03145
u860726004
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['E = list(map(int, input().split()))\n\nprint(E[0]*E[1])', 'E = list(map(int, input().split()))\n\nprint(E[0]*E[1]/2)', 'E = list(map(int, input().split()))\n\nprint(int(E[0]*E[1]/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s055688846', 's143424264', 's719007612']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[53, 55, 60]
p03145
u861466636
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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("この三角形の面積は{}です".format(a*b//2))', 'a, b, _ = map(int, input().split())\nprint("この三角形の面積は{}です。".format(a*b//2))', 'a, b, _ = map(int, input().split())\nprint(a*b//2)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s187840636', 's302265519', 's744108237']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[95, 98, 49]
p03145
u862296914
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 = sorted(list(map(int,input().split())))\nprint(n[0]*n[1]/2)', 'n = sorted(list(map(int,input().split())))\nprint(n[0]*n[1]/2)', 'AB, BC, CA = map(int,input().split())\nprint(int(AB*BC/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s323081293', 's638254086', 's485725223']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[61, 61, 57]
p03145
u863370423
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC. It is guaranteed that the area of the triangle ABC is an integer.
['line = input()\na, b, c = [int(x) for x in line.split()]\nprint((a * b) / 2)\n', 'line = input()\nnum = [int(n) for n in line.split()]\nsides = [num_a, num_b, num_c]\nsides.sort()\narea = round(sides[0] * sides[1]/2)\nprint(area)', 'a, b, c = map(int, input().split())\narea = int((b * a)/2)\nprint(area)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s074199793', 's376153879', 's960066802']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[75, 142, 69]
p03145
u863397945
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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)', 'AB,BC,CA = map(int,input().split())\n\nprint(AB*BC//2)']
['Wrong Answer', 'Accepted']
['s271423788', 's406352478']
[8956.0, 9152.0]
[26.0, 25.0]
[44, 52]
p03145
u863442865
2,000
1,048,576
There is a right triangle ABC with ∠ABC=90°. Given the lengths of the three sides, |AB|,|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 import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby\n #from itertools import product\n from bisect import bisect_left,bisect_right\n import heapq\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(a*b/2)\n\nif __name__ == '__main__':\n main()", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby\n #from itertools import product\n from bisect import bisect_left,bisect_right\n import heapq\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(int(a*b/2))\n\nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Accepted']
['s880246745', 's866274816']
[3316.0, 3444.0]
[22.0, 21.0]
[553, 558]