TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
line = input()
info = results = [int(i) for i in line.split()]

s = info[0]*info[1]/2
print(s)

line = input()
info = results = [int(i) for i in line.split()]

s = info[0]*info[1]/2
print(int(s))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a=sorted(list(map(int,input().split())))
print(a[1]*a[2])


a=list(map(int,input().split()))
b=a.sorted()
print(b[1]*b[2])


a=sorted(list(map(int,input().split())))
print(a[0]*a[1])

a=sorted(list(map(int,input().split())))
print(a[0]*a[1]//2)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,inpu().split())
print(a*b/2)

a,b,c=map(int,input().split())
print(int(a*b/2))

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int, input().split())
print('{:．0f}'．format(a*b/2))

a,b,c=map(int, input().split())
print(a*b/2)

a,b,c=map(int, input().split())
print('{:.0f}'.format(a*b/2))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print((a * b) / 2)

a, b, c = map(int, input().split())
print(a * b / 2)

a, b, c = map(int, input().split())
print((a * b) // 2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB , BC, CA  = map(int,input().split())
print(1/2 * AB * BC)

AB , BC, CA  = map(int,input().split())
print (int(1/2 * AB * BC))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a*b/2)

a, b, c = map(int, input().split())
print(min([a*b, b*c, c*a]) // 2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
# coding: utf-8

a, b, c = map(int, input().split())

print(a*b*c/max(a,b,c))

l = sorted(list(map(int, input().split())))

print(l[0]*l[1]/2)



# coding: utf-8

a, b, c = map(int, input().split())

print(a*b*c/(max(a,b,c)*2))



# coding: utf-8

a, b, c = map(int, input().split())
M = max(a,b,c)
x = a*b*c/(M*2)
print(x)



# coding: utf-8

a, b, c = map(int, input().split())

print(a*b*c/(max(a,b,c)*2))

a = sorted(list(int, input().split()))

print(a[0]*b[1])



l = sorted(list(map(int, input().split())))

print(l[0]*l[1])



l = list(map(int, input().split()))

print(l[0]*l[1])



l = sorted(list(map(int, input().split())))

print((l[0]*l[1])/2)

# coding: utf-8

a, b, c = map(int, input().split())
M = max(a,b,c)
x = a*b*c//(M*2)
print(x)



Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = [int(i)for i in input().split()]
A =max(a,b,c)
ans =1
for i in [a,b,c]:
    if i != A:
        ans *= i
print(ans/2)


l =[int(i) for i in input().split()]
print(l[0]*l[1]//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input().split())
print (a * b / 2)

a,b,c = map(int, input().split())
print (a * b // 2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a*b*(0.5)

a,b,c=map(int,input().split())
print(a*c//2)

a,b,c=map(int,input().split())
S=a*c//2

a, b, c = map(int, input().split())
print(a*b*0.5)

a,b,c=map(int,input().split())
S=a*c//2
print(S)

a,b,c=map(int,input().split())
S=1/2*a*c
print(S)

a, b, c = map(int, input().split())
print(int(a*b*0.5))

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ca = map(int, input().split())
print(ab * bc / 2)


ab, bc, ca = map(int, input().split())
print(int(ab * bc / 2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
s = input().split()
s = [int(i) for i in s]
print(s[0]*s[1]/2)

s = input().split()
s = [int(i) for i in s]
print(int(s[0]*s[1]/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input().split())
print(1 / 2 * a * b)


a,b,c = map(int, input().split())
print(int(1 / 2 * a * b))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
in1 = list(map(int ,input().split(" ")))
in1.sort()
print(in1)
print((in1[0] * in1[1])/2)


in1 = list(map(int ,input().split(" ")))
in1.sort()
print(int((in1[0] * in1[1])/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())
print(min(a*b,b*c,c*a))

a,b,c = map(int,input().split())
print(min(a*b,b*c,c*a)/2)

a,b,c = map(int,input().split())
print(int(min(a*b,b*c,c*a)/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
n=list(map(int,input().split(" ")))
n.sort()
print(n[0]*n[1]/2)

n=list(map(int,input().split(" ")))
n.sort()
print(int(n[0]*n[1]/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
(a, b, c)=list(int, input().split())
s=a*b/2
print(s)


a,b,c = [int(x) for x in input().split()]
s = int(a * b / 2)
print(s)


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
p,q,r=map(int,input().split())
print(p*q/2)

p,q,r=map(int,input().split())
print(p*q//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):

bottom,height,hypotenuse = map(int,input().split())


area = bottom * height / 2
print(area)


bottom,height,hypotenuse = map(int,input().split())


area = int(bottom * height / 2)
print(area)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
よこ，たて，_ = map(int,input().split())
こたえ=よこ*たて//2
print(こたえ)

えーびー,びーしー,_ = map(int,input().split())
めんせき =えーびー*びーしー//2
print(めんせき)

Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
n=[int(x) for x in input().split()]
print(0.5*n[0]*n[1])

n=[int(x) for x in input().split()]
print(int(0.5*n[0]*n[1]))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())

lis = [a,b,c]
lis  = lis.remove(max(lis))

print(int(lis[0]*lis[1]/2))

a,b,c = map(int,input().split())

lis = [a,b,c]

lis.remove(max(lis))

print(int(lis[0]*lis[1]/2))


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
x,y,z = map(int,input().split())
print(x*y/2)

x,y,z = map(int,input().split())
print(x*y//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a = list(map(int, input().split()))

print(a[0]*a[1]/2)

a = list(map(int, input().split()))
 
print(int(a[0]*a[1]/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
import reduce from functools
import mul from operator

def solve():
	L = [int(i) for i in input().split()]
	return reduce(mul, L) // (2 * max(L))

print(solve())


from functools import reduce
from operator import mul

def solve():
	L = [int(i) for i in input().split()]
	return reduce(mul, L) // (2 * max(L))

print(solve())


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input().split())
print(a*b/2)

a,b,c = map(int, input().split())
print(a*b//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input())
print(a+b//2)

a,b,c = map(int,input().split())
print(a*b/2)

a,b,c = map(int,input().split())
print(a*b//2)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input.split())
print(a*b//2)

a,b,c = map(int, input().split())
print(a*b//2)

Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    print(a[0]*a[1]/2)

import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    print(a[0]*a[1]//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
lines = map(int, input().split())
lines.sort()

print(lines[0] * lines[1])

lines = list(map(int, input().split())
lines.sort()
             
print(lines[0] * lines[1])

lines = list(map(int, input().split()))
lines.sort()
 
print(lines[0] * lines[1])

lines = list(map(int, input().split()))
lines.sort()
 
print((lines[0] * lines[1]) // 2)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a*b/2)


a, b, c = map(int, input().split())
print(int(a*b/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
A = list(map(int,input().split()))
A.sort()
print(A[0]*A[1]/2)

A = list(map(int,input().split()))
print(A[0]*A[1]/2)

A = list(map(int,input().split()))
print(A[0]*A[1]//2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
def main():
    C, A, B = map(int, input().split())
    print(C*A/2)
main()

def main():
    C, A, B = map(int, input().split())
    print(int(C*A/2))
main()


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB,BC,CA=map(int,input().split())
print(AB*BC/2)

AB, BC, CA = map(int, input().split())
print(AB*BC/2)

B,BC,CA=map(int,input().split())
print(AB*BC//2)

AB, BC, CA = map(int, input().split())
print(AB * BC // 2)

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
c,a,b = map(int, input().split())
print(c*a/2)

c,a,b = [2,5,6]
print(int(c*a/2))

c,a,b = map(int,input().split())
print(int(c*a/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ca = map(int, input().split())
print(ab * bc / 2)

a, b, c = map(int, input().split())
print(a * b // 2)


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
N=list(map(int,input().split()))
d=sorted(N)
print(N[0]*N[1]/2)

N=list(map(int,input().split()))
d=sorted(N)
print(int(N[0]*N[1]/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
s = list(map(int,input().split()))
s.sort()
print(s[0]*s[1]/2)


N = int(input())
h = list(map(int,input().split()))
ans = h[0]
for i in range(1,N):
    if h[i]-h[i-1]>0:
        ans += h[i]-h[i-1]
print(ans)


s = list(map(int,input().split()))
print(s[0]*s[1]/2)


s = list(map(int,input().split()))
s.sort()
print(int(s[0]*s[1]/2))

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input(),split())

print((a*b)//2)

a, b, c = map(int, input(),split())

print(int((a*b)/2))

a, b, c = map(int, input().split())

print((a*b)//2)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
A,B,C = map(int, input().split())
print(A*B/2)

A,B,C = map(int, input().split())
print(int(A*B/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
X = list(map(int, input().split()))
X.sort()
print(0.5*(X[0]*X[1])

X = list(map(int, input().split()))
X.sort()
print(0.5*X[0]*X[1])

X = list(map(int, input().split()))
X.sort()
print(int(0.5*X[0]*X[1]))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ca = map(int, input().split())
print(int(ab*bc/2)

ab, bc, ca = map(int, input().split())
print((ab*bc/2))

ab, bc, ca = map(int, input().split())
print(int(ab*bc/2))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ri = lambda: int(input())
rl = lambda: list(map(int,input().split()))

x,y,z = rl()

print(x*y/2)

ri = lambda: int(input())
rl = lambda: list(map(int,input().split()))

x,y,z =rl()
print(x*y//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input().split())

print(int(a*B/2))

a,b,c = map(int, input().split())

print(int(a*b/2))

Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())
d = max(a,b,c)
if a == d:
    print (b*c/2)
elif b == d:
    print (a*c/2)
else:
    print (a*b/2)

a,b,c = map(int,input().split())
d = max(a,b,c)
if a == d:
    print (b*c//2)
elif b == d:
    print (a*c//2)
else:
    print (a*b//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int, input().split())
print(a*b/2)

a,b,c=map(int, input().split())
print(a*b)

a,b,c=map(int, input().split())
print(a*b//2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
S=a*b/2
print(S)
    


a,b,c=map(int,input().split())
S=a*b*1/2
print(S)
    

a,b,c=map(int,input().split())
S=a*b//2
print(S)
    

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
def main() -> None:
    ab, bc, ca = map(int, input())
    print(ab * bc // 2)


if __name__ == "__main__":
    main()


def main() -> None:
    ab, bc, ca = map(int, input().split())
    print(ab * bc // 2)


if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
[a,b,c]=map(int, input().split())
if a > b and a > c:
  print(b * c)
elif b > a and b > c:
  print(a * c)
else:
  print(a * b)

[a,b,c]=map(int, input().split())
if a > b and a > c:
  print(b * c / 2)
elif b > a and b > c:
  print(a * c / 2)
else:
  print(a * b / 2)

[a,b,c]=map(int, input().split())
if a > b and a > c:
  print(b * c // 2)
elif b > a and b > c:
  print(a * c // 2)
else:
  print(a * b // 2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
A, B, C = map(int, input().split())
print((A+B)/2)

A, B, C = map(int, input().split())
print((A*B)/2)

A, B, C = map(int, input().split())
print(int((A*B)/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())

print(b * a / 2)

a, b, c = map(int, input().split())

print(int(b * a / 2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(d/2)


a=int(input())
b=int(input())
c=int(input())

print(a*b/2)

a,b=map(int,input().split())
print(a*b/2)

a=int(input())
b=int(input())

print(a*b/2)

a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,input().split())
print((a*b)/2)

a,b,c=map(int,input().split())
d=a*b
print(d*0.5)


a,b,c=map(int,input().split())
d=a*B
print(d*0.5)

a,b,c=map(int,input().split())
print(int((a*b)/2))


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
x =list( map(int,input().split()))
x.sort()
print(x)
print(int(0.5*x[0]*x[1]))


x =list( map(int,input().split()))
x.sort()
print(int(0.5*x[0]*x[1]))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB, BC, CA = map(int, input().split())
if (1 <= AB & AB <= 100) & (1 <= BC & BC <= 100) & (1 <= CA & CA <= 100)
    S = int(AB * BC / 2)
    print(S)


AB, BC, CA = map(int, input().split())
if (1 <= AB & AB <= 100) & (1 <= BC & BC <= 100) & (1 <= CA & CA <= 100):
    S = int(AB * BC / 2)
    print(S)


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
[a,b,c] = [int(i) for i in input().split()]
print(int(a*b*c/max(a,b,c))/2)

[c,b,a] = [int(i) for i in input().split()]
print(int(c*b/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB,BC,CA=map(int,input().split())

print(AB*BC*0.5)

AB,BC,CA=map(int,input().split())

print(int(AB*BC*0.5))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
x,y,z=map(int,input().split())
print(min(x*y,y*z,z*x)*0.5)

lis=list(map(int,input().split()))
lis.sort()
print(int(lis[0]*lis[1]*.5))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB, BC, CA = map( int, input().split() )

print( AB*BC/2 )

AB, BC, CA = map( int, input().split() )

print( int(AB*BC/2) )

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

ls = [int(x) for x in input().split()]
ls.sort()
print((ls[0]*ls[1])/2)


#! /usr/bin/env python3
# -*- coding: utf-8 -*-

ls = [int(x) for x in input().split()]
ls.sort()
print(int((ls[0]*ls[1])/2)


#! /usr/bin/env python3
# -*- coding: utf-8 -*-

ls = [int(x) for x in input().split()]
ls.sort()
print(ls[0]*ls[1]/2)


#! /usr/bin/env python3
# -*- coding: utf-8 -*-

ls = [int(x) for x in input().split()]
ls.sort()
print(int((ls[0]*ls[1])/2))


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ca = map(int, input().split())

print(ab * bc / 2)

ab, bc, ca = map(int, input().split())

print(int(ab * bc / 2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(int(a*b/2)

a,b,c=map(int,input().split())
print(int(a*b/2))

Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
c,b,a = map(int, input().split())
print(a*c)

c,a,b = map(int, input().split())
print(a*c/2)

c,a,b = map(int, input().split())
print(a*c)

c,a,b = map(int, input().split())
print(int(a*c/2))

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
A = map(int,input().split())
A.remove(max(A))
print(0.5*(A[0])*(A[1]))

A = map(int,input().split())
print(0.5*A[0]*A[1])

A = list(map(int,input().split()))
print(0.5*A[0]*A[1])

A = map(int,input().split())
sort(A)
print(0.5*A[0]*A[1])

A = list(map(int,input().split()))
print(A[0]*A[1]//2)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ca=map(int, input().split())
print(0.5*ab*bc)

ab, bc, ca=map(int, input().split())
print(ab*bc//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(b*a/2)

a,b,c=map(int,input().split())
print(int(b*a/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())
print(min(a,b,c)*(sum([a,b,c]-min(a,b,c)-max(a,b,c)))//2)

a,b,c = map(int,input().split())
print(min(a,b,c)*(sum([a,b,c])-min(a,b,c)-max(a,b,c))//2)


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
x, y, z = map(int, input().split())

print((x*y)/2)

AB,BC,CU = input().split()
AB = int(AB)
BC = int(BC)
CU = int(CU)

if 1 <= AB <= 100:
    if 1 <= BC <= 100:
        if 1 <= CU <= 100:
            area = (AB * BC )/ 2
            print(area)

num, num1, num2 = input("").split()
num = int(num)
num1 = int(num1)

print(int(num*num1/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
x,y,z= map(int,input().split())
print(x*y/2)

x,y,z= map(int,input().split())
print(x*y//2)


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, _ = map(int, input().split())
print(a * b / 2)

a, b, _ = map(int, input().split())
print(int(a * b / 2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = [int(i) for i in input().split()]
print(a * b * c // min(a, b, c) // 2)

a, b, c = [int(i) for i in input().split()]
print(a * b * c // max(a, b, c) // 2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
X,Y,Z=map(int,input().split())
print((X*Y)/2)

X,Y,Z=map(int,input().split())
print(X*Y/2)

X,Y,Z=map(int,input().split())
print(int((X*Y)/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
# coding: utf-8
from sys import stdin
AB,BC,AC = map(int, stdin.readline().rstrip().split())
print(AB*BC/2)

# coding: utf-8
AB,BC,AC = map(int, input().split())
print(AB*BC//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int, input().split())
print(a*b/2)

a,b,c=map(int, input().split())
print(int(a*b/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
A, B, C = map(int, input().split())
S = A * B / 2
print(S)

A, B, C = map(int, input().split())
S = A * B // 2
print(S)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(int(a*b)/2)


a,b,c=map(int,input().split())
print(int((a*b)/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
3 4 5


a, b, c = (int(i) for i in input().split())
print(a*b//2)

Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = input().strip().split()
print(int(a)*int(b)*0.5)

a, b, c = input().strip().split()
print(int(int(a)*int(b)*0.5))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())
print(a*b/2)

n = int(input())
h = list(map(int,input().split()))
ans = h[0]
for i in range(1,n):
    if h[i-1] < h[i]:
        ans += h[i]-h[i-1]
print(ans)

a,b,c = map(int,input().split())
print(int(a*b/2))

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
ans = a * b / 2
print(ans)

a, b, c = map(int, input().split())
ans = a * b / 2
print(int(ans))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c =sorted(map(int,input().split()))
print(a*b/2)

a,b,c =sorted(map(int,input().split()))
print(a*b//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
#n,m = map(int,input().split())
xlist = list(map(int,input().split()))

S = xlist[0]*xlist[1]/2
print(S)


#n,m = map(int,input().split())
xlist = list(map(int,input().split()))

S = xlist[0]*xlist[1]
print(S)


#n,m = map(int,input().split())
xlist = list(map(int,input().split()))

S = xlist[0]*xlist[1]/2
print(int(S))


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
ab, bc, ac = [int(x) for x in input().split()]
print((ab*bc)/2)

ab, bc, ac = [int(x) for x in input().split()]
print(int((ab*bc)/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int,input().split())
print(a*b*(1/2))


a,b,c = map(int,input().split())
print(int(a*b*(1/2)))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a = list(map(int,input().split())).sorted()
print(a[0]*a[1]/2)


a = sorted(list(map(int,input().split())))
print(a[0]*a[1]/2)


a = sorted(list(map(int,input().split())))
print(int(a[0]*a[1]/2))


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,input().split())
print(b*a//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
l = list(map(int, input().split))
l.sort()
l.reverse()
l.pop(0)
print(l[0]*l[1]/2)


l = list(map(int, input().split()))
l.sort()
l.reverse()
l.pop(0)
print(l[0]*l[1]//2)


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = list(map(int, input().split()))
print(a*b/2)

a, b, c = list(map(int, input().split()))
 
print(int(a*b/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())

s = (a+b+c)/2
S = s*(s-a)*(s-b)*(s-c)

print(S**0.5)

a, b, c = map(int, input().split())

s = (a+b+c)/2
S = s*(s-a)*(s-b)*(s-c)

print(int(S**0.5))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB, BC, CA = input().split()
print(int(AB) * int(BC) / 2)

AB, BC, CA = input().split()
print(int(int(AB) * int(BC) / 2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
AB, BC, CA = map(int, input().split())

print(AB * BC / 2)



AB, BC, CA = map(int, input().split())

print(int(AB * BC / 2))



Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, _ = map(int, input().split())
print(a*b/2)


a, b, _ = map(int, input().split())
print(int(a*b/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(a**b//2)

a,b,c=map(int,input().split())
print(a*b//2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
items = sorted(list(map(int,input().split())))
print(items[0]*items[1]/2)

items = sorted(list(map(int,input().split())))
print(int(items[0]*items[1]/2))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a * b / 2)

a,b,c=map(int,input().split())
print(a＊b/2)

a, b, c = map(int, input().split())
print(int(a * b / 2))

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a=list(map(int,input().split()))
print(a[0]*a[1]*a[2]/max(a)/2)

a=list(map(int,input().split()))
print(a[0]*a[1]*a[2]//max(a)//2)


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
area = 0.5 * a * b
print(area)


a, b, c = map(int, input().split())
area = 0.5 * a * b
print(int(area))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c = map(int, input().split())
print(a*b/2)

a,b,c = map(int, input().split())
print(a*b //2)

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,input().split())
print((a*b)/2)

a,b,c=map(int,input().split())
print(int(a*b/2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split(' '))
print(a*b/2)

a, b, c = map(int, input().split(' '))
print(int(a*b/2))


Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = sort(map(int, input().split()))
print(a*b//2)


a, b, c = sorted(map(int, input().split()))
print(a*b//2)


Verdicts: Runtime Error

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
z=a*b/2
print(z)

a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,input().split())
z=a*b/2
print(int(z))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a*b*0.5)

a, b, c = map(int, input().split())
print(int(a*b*0.5))

Verdicts: Wrong Answer

Accepted
Problem: There is a right triangle ABC with ∠ABC=90°.  Given the lengths of the three sides, |AB|,|BC| and |CA|, find the area of the right triangle ABC.  It is guaranteed that the area of the triangle ABC is an integer.

Submission attempts (in order):
a,b,c=map(int,input().split())
print(a*b/2)

a,b,c=map(int,input().split())
S=a*b/2
print(int(S))

Verdicts: Wrong Answer

Accepted