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):
c,a,b = map(int, input().split())
print(c*a*0.5)

c,a,b = map(int, input().split())
print(int(c*a*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=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):
a=map(int,input().split())
print(a[0]*a[1]//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):
A, B, C = map(int, input().split())
return (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):
a, b, c = map(int, input().split())
dai = max(a,b,c)
shou = min(a,b,c)
mid = a + b + c - dai - shou

print(shou * mid / 2)


a, b, c = map(int, input().splis())
dai = max(a,b,c)
shou = min(a,b,c)
mid = a + b + c - dai - shou

print(shou * mid / 2)

a, b, c = map(int, input().split())
dai = max(a,b,c)
shou = min(a,b,c)
mid = a + b + c - dai - shou

print(shou * mid // 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(a*b/2)

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

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

a,b,c = map(int,input().split())
print(a*b//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,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,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

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):
n1, n2, n3 = list(map(int, input().split())) 
print(n1*n2/2)

n1, n2, n3 = list(map(int, input().split())) 
print(int(n1*n2/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 sys

for line in sys.stdin:
  nbs = line.split(' ')
  print(int(nbs[0]) * int(nbs[1]) / 2)

import sys
list(map(lambda n: print(int(n[0]) * int(n[1]) / 2, map(str.split, sys.stdin)))

import sys
 
for line in sys.stdin:
  nbs = line.split(' ')
  print(int(nbs[0]) * int(nbs[1]) // 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):
c,a,b = map(int,input().split())

ans = c*b/2
print(ans)

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

ans = ab*bc/2
print(ans)

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

ans = ab*bc//2
print(ans)


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):
D = int(input())

num = 25 - D
s = "Christmas"
s += " Eve" * num

print(s)

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

S = ab * bc / 2
print(S)

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

S = ab * bc / 2
print(S)

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

S = int(ab * bc / 2)
print(S)

Verdicts: Runtime Error

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():
    N, K = map(int, input().split())
    td = []
    for _ in range(N):
        ti, di = map(int, input().split())
        td.append([ti, di])
    td.sort(key=lambda x: -x[1])
    num = 0
    kind = set()
    changable = []
    for i in range(K):
        num += td[i][1]
        if td[i][0] in kind:
            changable.append(td[i][0])
        else:
            kind.add(td[i][0])
    num += len(kind) ** 2
    ans = num

    for i in range(K, N):
        if not changable:
            break
        if td[i][0] not in kind:
            num += td[i][1] + 2 * len(kind) + 1 - changable.pop()
            kind.add(td[i][0])
            ans = max(ans, num)


if __name__ == "__main__":
    main()


def main():
    AB, BC, CA = map(int, input().split())
    print(int(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):
#116A

a, b, c = (int(x) for x in input().split())


menseki = a * b / 2

print(menseki)

#116A

a, b, c = (int(x) for x in input().split())


menseki = a * b / 2

print(int(menseki))

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().spit())
print(ab*bc*0.5)

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

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(a*b/2)

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

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())
ans = ab * bc * 0.5
print(ans)

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

ab, bc, ca = map(int, input().split())
ans = ab * bc * 0.5
print(int(ans))

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(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(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())

if (A*A+B*B==C*C):
    print(A*B/2)
elif (A*A+C*C==B*B):
    print(A*C/2)
else:
    print(B*C/2)


A, B, C = int(input())

if (A*A+B*B==C*C):
    print(A*B/2)
elif (A*A+C*C==B*B):
    print(A*C/2)
else:
    print(B*C/2)


A, B, C = map(int,input().split())

if (A*A+B*B==C*C):
    s = A*B/2
elif (A*A+C*C==B*B):
    s = A*C/2
else:
    s = B*C/2

print(int(s))

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(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):
data = list(map(int,input().split()))

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


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

print(int(data[0]*data[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):
def sq(a, b, c):
  return a*b/2

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

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())

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())

maxL = max(A,B,C)
minL = min(A,B,C)
midium = A+B+C - maxL - minL

print(minL*midium/2)

A,B,C = map(int,input().split())

maxL = max(A,B,C)
minL = min(A,B,C)
midium = A+B+C - maxL - minL

print(int(minL*midium/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()))
println((A[0]*A[1])//2)

A = list(map(int, input().split()))
print((A[0]*A[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 = 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 * c / 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)


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 * c)

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 * c // 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

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,_=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*1/2)

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

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(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):
AB,BC,CA = sorted(map(int,input().split()))
print(AB*BC/2)


AB,BC,CA = sorted(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)
        

from collections import deque
n,k= map(int,input().split())
td=[]
for i in range(n):
    td.append(list(map(int,input().split())))
td.sort(key=lambda x:x[1],reverse=True)
select=[]
noselect=[]
cat=[]
for tdi in td:
    if tdi[0] in cat:
        noselect.append(tdi)
        continue
    select.append(tdi)
    cat.append(tdi[0])
    if len(select)==k:
        break
i=0
while len(select) < k:
    select.append(noselect[i])
    i+=1
noselect=noselect[i:]

print(8)


"""
5 3
1 9
1 7
2 6
2 5
3 1
->26
7 4
1 1
2 1
3 1
4 6
4 5
4 5
4 5
->25
6 5
5 1000000000
2 990000000
3 980000000
6 970000000
6 960000000
4 950000000
->4900000016
"""

from collections import deque
n,k= map(int,input().split())
td=[]
for i in range(n):
    td.append(list(map(int,input().split())))
td.sort(key=lambda x:x[1],reverse=True)
select=[]
noselect=[]
cat=[]
for tdi in td:
    if tdi[0] in cat:
        noselect.append(tdi)
        continue
    select.append(tdi)
    cat.append(tdi[0])
    if len(select)==k:
        break
i=0
while len(select) < k:
    select.append(noselect[i])
    i+=1
noselect=noselect[i:]

select.sort(key=lambda x:x[1])
select=deque(select)
#cat=list(set([tdi[0] for tdi in select]))
for no in noselect:
    if no[0] not in cat:
        continue
    if (2 * len(cat)) - 1 < no[1] - select[0][1]:
        select.popleft()
        select.append(no)
        cat=list(set([tdi[0] for tdi in select]))
    else:
        break
print(sum([tdi[1] for tdi in select])+(len(cat)**2))


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


Verdicts: Wrong Answer

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):
from math import pow






def compute_score(target_collection):
    keys = {neta_point[0] for neta_point in target_collection}
    points = [neta_point[1] for neta_point in target_collection]
    cardinality = len(keys)
    score = pow(cardinality, 2) + sum(points)
    return score

# exchange one record and compare
def optimize(full_collection, target_collection, target_collection_len, idx):
    while True:
        ex_record = full_collection[idx]
        # check on the idx-th record
        idx += 1
        # bump up for return value
        if ex_record in target_collection:
            continue # cardinality score will not increase
        else:
            for i in range(target_collection_len-1):
                if target_collection[i][0] == target_collection[i-1][0]:
                    target_collection[i] = ex_record
                    new_score = compute_score(target_collection)
                    return new_score, target_collection, idx
        
        return 0, target_collection, idx



def cal_score(N, K, records):
    sorted_recs = sorted(records, reverse=True, key=lambda x: x[1])
    target_collection = sorted_recs[0:K]
    score =  compute_score(target_collection)

    
    idx = K
    for i in range(K):
        new_score, new_target_collection, idx = optimize(sorted_recs, target_collection, K, idx)
        if new_score <= score: 
            break
        else:
            score = new_score
    return score
  
N, K = map(int, input().split())
records = [tuple(map(int, input().split())) for i in range(N)] 
score =cal_score(N, K, records)
print(score)


A = input()
B = input()
C = input()
print(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):
#coding:utf-8
import copy
N, K = map(int,input().split())
T = []
D = []
ls_td = []
for n in range(N):
    t, d = map(int,input().split())
    ls_td.append([t,d])
ls_td = sorted(ls_td, key=lambda x: x[1])[::-1]
head = ls_td[:K]
tail = ls_td[K:]
def get_set(mat):
    st = set()
    for t,d in mat:
        st.add(t)
    return st
def score(mat):
    r = 0
    ls_t = set()
    for t,d in mat:
        ls_t.add(t)
        r += d
    r += len(ls_t)**2
    return r

def search_del(mat):
    idx = -1
    st = set()
    for i,(t,d) in enumerate(mat):
        if t in st:
            idx = i
        st.add(t)
    return idx
st = get_set(head)
current_score = score(head)
idx = search_del(head)
for t,d in tail:
    if idx == -1:
        break

    if t in st:
        pass
    else:
        new = copy.deepcopy(head)
        new[idx] = t,d
        candidate_score = score(new)
        if current_score < candidate_score:
            head = new
            st.add(t)
            current_score = candidate_score
            idx = search_del(head)
print (current_score) 
        


#coding:utf-8
a,b,c = map(int,input().split())
s = (a+b+c)/2.0
S = (s * (s-a) * (s-b) * (s-c)) ** 0.5
print (int(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):
#coding UTF-8
As=input()
Bs=input()
Cs=input()
a=int(As)
b=int(Bs)
print(a*b/2)

As=input()
Bs=input()
Cs=input()
a=int(As)
b=int(Bs)
print(a*b/2)

#coding:UTF-8
As=input()
Bs=input()
Cs=input()
a=int(As)
b=int(Bs)
print(a*b/2)

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

Verdicts: Runtime Error

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):
hs = map(int, input().split())
hs.sort()
print(hs[0] * hs[1] // 2)

hs = list(map(int, input().split()))
hs.sort()
print(hs[0] * hs[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):
AB,BC = map(int, input().split())
print(AB*BC/2)

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

AB,BC,CA = map(int, input().split())
print(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):
ab, bc, ca = list(map(int(i) for i in input().split))

print(ab * bc / 2)

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

print(ab * bc / 2)

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

print(int(ab * bc / 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):
c,a,b=map(int,input().split())
print(c*a/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):
import math
AB,BC,CA = map(int, input().split())
s = (AB+BC+CA)/2
S = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))
print(S)

import math
AB,BC,CA = map(int, input().split())
s = (AB+BC+CA)/2
S = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))
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,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: 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 = [int(i) for i in input().split()]

print(AB * BC / 2)


AB, BC, CA = [int(i) for i 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 // 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):
a=map(int,input().split())
print(max(a)-min(a))

a,b,c=sorted(map(int,input().split()),reverse=False)
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());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):
#ABC116 A
AB, BC, CA = map(int,input().split())
print(AB * BC / 2)

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


#ABC117 A
T, X = map(int, input().split())
print(T/X)


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


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


Verdicts: Wrong Answer

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):
from sys import stdin
 
a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
print((a*b)/2)

from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
print((a*b)/2)

from sys import stdin
 
a, b, c = [int(x) for x in stdin.readline().rstrip().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,_=map(int,input().split());print(a*b/2)

a,b,_=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 = input().split( )
area = int(a*b /2)
print(area)

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

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):
s = int(input())
x = 1
if s == 1 or s == 2:
    print(4)
else:
    while not s == 4:
        if s % 2 != 0:
            s = 3 * s + 1
            x = x + 1
               
        else:
            s = s // 2
            x = x + 1
        
        
print(x + 3)

a,b,c = map(int,input().rstrip().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):
# -*- coding: <encoding name> -*-

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

# -*- coding: <encoding name> -*-

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

# -*- coding: <encoding name> -*-

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):
l = list(map(int, input().split()))
l.sort()
print(l[0]*l[2]//2)

l = list(map(int, input().split()))
l.sort()
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):
ab, bc, ca = map(int, input().split())

ans = ab * bc / 2
print(ans)

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

ans = ab * bc // 2
print(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):
s = int(input())
an = []
an.append(s)
n = s
while an.count(4) != 2:
    if n % 2 == 0:
        n /= 2
        an.append(int(n))
    else:
        n = 3 * n + 1
        an.append(int(n))
if an.index(1 or 2) == 0:
    print(4)
else:
    print(an.index(4) + 4)


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


s = int(input())
an = []
an.append(s)
n = s
while an.count(4) != 2:
    if n % 2 == 0:
        n /= 2
        an.append(int(n))
    else:
        n = 3 * n + 1
        an.append(int(n))
print(an.index(4) + 4)

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


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


s = int(input())
an = []
an.append(s)
n = s
while an.count(1 or 2 or 4) != 2:
    if n % 2 == 0:
        n /= 2
        an.append(int(n))
    else:
        n = 3 * n + 1
        an.append(int(n))
print(an.index(4) + 4)



s = int(input())
an = []
an.append(s)
n = s
while an.count(1 or 2 or 4) != 2:
    if n % 2 == 0:
        n /= 2
        an.append(int(n))
    else:
        n = 3 * n + 1
        an.append(int(n))
print(an.index(4) + 4)


s = int(input())
an = []
an.append(s)
n = s
while an.count(4) != 2:
    if n % 2 == 0:
        n /= 2
        an.append(int(n))
    else:
        n = 3 * n + 1
        an.append(int(n))
print(an.index(4) + 4)



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


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


Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

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):
AB, BC, CA = map(int,input().split())
AB * BC / 2

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

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 - Right Triangle


def main():
    s = input()
    ret = solve(s)
    print(ret)


def solve(s):
    ary = list(map(int, s.split()))
    ary.sort()
    return ary[0] * ary[1] / 2


main()


# A - Right Triangle


def main():
    s = input()
    ret = solve(s)
    print(ret)


def solve(s):
    ary = list(map(int, s.split()))
    ary.sort()
    return ary[0] * ary[1] // 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):
a,b,c = map(int, input().slplit())

print(a * b / 2)


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

s = a * b / 2

print(s)

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

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()))
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):
s=int(input())
a=[s]
for i in range(500):
    if a[i]%2==0:
        a.append(a[i]//2)
    else:
        a.append(a[i]*3+1)
ans=a.index(4)+4
if s==1 or s==2:
    print(4)
else:
    print(ans)

s=int(input())
a=[s]
for i in range(500):
    if a[i]%2==0:
        a.append(a[i]//2)
    else:
        a.append(a[i]*3+1)
ans=a.index(4)+4
if s==1 or s==2:
    print(4)
else:
    print(ans)

ABClist=input().split()
AB=int(ABClist[0])
BC=int(ABClist[1])
ans=int(AB*BC/2)
print(ans)

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):
abc = input()
abc_ls = abc.split()
a = int(abc_ls[0])
b = int(abc_ls[1])
print( a * b / 2 )

abc = input()
abc_ls = abc.split()
a = int(abc_ls[0])
b = int(abc_ls[1])
s = int(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(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 = list(map(int,input().split()))
a = sort(a)
print(a[0]*a[1]//2)

a = list(map(int,input().split()))
a = sorted(a)
print(a[0]*a[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):
AB, BC, CA = map(int, input().split())
print((AB+BC)//2)

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 = sorted(list(map(int, input().split())))
print(A[0]*A[1]/2)

A = sorted(list(map(int, 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):
li=list(map(int,input().split()))
li.sort()
print((li[0]*li[1])/2)


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


li=list(map(int,input().split()))
li.sort()
print((li[0]*li[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):
N = int(input())
h = [0] + [int(i) for i in input().split()]
result = 0
for i in range(1, len(h)):
  if h[i] > h[i-1]:
    result += h[i] - h[i-1]
print(result)

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

A,B,C=(float(i) for i in input().split())
print(A*B/2)

A,B,C=(int(i) for i in input().split())
print(A*B/2)

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

A,B,C=(int(i) for i in input().split())
print(int(A*B/2))

Verdicts: Runtime Error

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,AC=map(int, input().split())
print(AB*AC/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):
ab,bc,cd=map(int,input().split())
ans = (ab * bc) / 2
print(ans)

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(a*b/2)

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

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):
AB,BC,CA = map(int,input().split())
s = (AB+BC+CA)/2
import math
S = math.sqrt(s*(s-AB)*(s-BC)*(s-CA))
print(S)

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 = [int(n) for n in input.split(" ")]
print(a*b/2)

# -*- coding: utf-8 -*-
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):
hen = list(map(int, input().split()))

naname = max(hen)

if naname == hen[0]: print(hen[1]*hen[2]/2)
elif naname == hen[1]: print(hen[0]*hen[2]/2)
else: print(hen[1]*hen[0]/2)
    

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

naname = max(hen)

if naname == hen[0]: print(int(hen[1]*hen[2]/2))
elif naname == hen[1]: print(int(hen[0]*hen[2]/2))
else: print(int(hen[1]*hen[0]/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):
p, q, r = map(int, input().split())
print(p*q/2)


p, q, r = map(int, input().split())
print(int(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):
a,b,c = map(int,input().split( ))

s = (a * b)/2

print(s)

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

s = int((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 = list(map(int, input().split()))

a = sorted(a)
ans = (a[0] * a[1])/2

print(ans)

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

a = sorted(a)
ans = (a[0] * a[1])/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):
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=(int(i) for i in input().split())
t=sorted([a,b,c])
print(t[0]*t[1]/2)

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

a,b,c=(int(i) for i in input().split())
t=sorted([a,b,c])
print(int(t[0]*t[1]/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()))
A = A.sort()
print(A[1]*A[2]/2)
 

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



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


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

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


Verdicts: Runtime Error

Runtime Error

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())

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

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/c)

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):
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #AB
list1_1 = list1[1] #BC

print(list1_0 * list1_1 / 2)


list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #AB
list1_1 = list1[1] #BC

print(int(list1_0 * list1_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):
x,y,z=[int(i) for i in range(input)]
print(x*y/2)

x,y,z=[int(i) for i in input().split()]
print(int(x*y/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())
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):
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,x = map(int, input().split(' '))
print(str(a*b/2))

a,b,x = map(int, input().split(' '))
s = int(a*b/2)
print(str(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):
ab,bc,ca=map(int, input().split())

print(ab*bc/2)

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):
li = list(map(int,input().split()))
A =li[0]
B = li[1]
print(A * B / 2)

li = list(map(int,input().split()))
A =li[0]
B = li[1]
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):
  1 x,y,z=list(map(int,input().split()))
  2 print(x*y/2)  

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


Verdicts: Runtime Error

Accepted