Source stringclasses 1
value | Date int64 2.01k 2.02k | Text stringlengths 22 783k | Token_count int64 20 394k |
|---|---|---|---|
Project_CodeNet | 2,020 | edges = list(map(int, input().split(' ')))
longest = max(edges)
edges.remove(longest)
print(edges[0] * edges[1] // 2)
| 37 |
Project_CodeNet | 2,020 | l = sorted(map(int,input().split()))
print((l[0]*l[1])//2) | 22 |
Project_CodeNet | 2,020 | A,B,C = map(int,input().split())
r= A*B*C/max(A,B,C)/2
print(int(r))
| 29 |
Project_CodeNet | 2,019 | a, b, c = (int(i) for i in input().split()) #a=1, b=3, c=5, d=7
print(int(a*b/2)) | 42 |
Project_CodeNet | 2,020 | import math
c,a,b=map(int,input().split())
s=(a+b+c)/2
print(int(math.sqrt(s*(s-a)*(s-b)*(s-c)))) | 36 |
Project_CodeNet | 2,019 | a = list(map(int,input().split()))
v_max = max(a)
a.remove(v_max)
print(a[0]*a[1]//2) | 32 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,019 | l=list(map(int,input().split()))
l.remove(max(l))
print(int(l[0]*l[1]/2)) | 25 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
max_n = max(a, b, c)
min_n = min(a, b, c)
oth = a+b+c - max_n - min_n
print(int((min_n * oth) / 2)) | 58 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(int(AB*BC/2)) | 22 |
Project_CodeNet | 2,019 | # %%
ary = [int(a) for a in input().split()]
print(int(ary[0] * ary[1] / 2))
| 31 |
Project_CodeNet | 2,019 | s = list(map(int,input().split()))
s.sort()
print(int(s[0]*s[1]/2)) | 24 |
Project_CodeNet | 2,020 |
def main():
a = map(int, input().split())
a_ = sorted(a)
print(int(a_[0] * a_[1] * 0.5))
if __name__ == "__main__":
main()
| 50 |
Project_CodeNet | 2,019 | s, t, u = sorted([int(i) for i in input().split()])
print(s * t // 2) | 26 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split(" "))
print(int(1/2*AB*BC)) | 24 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,020 | l=list(map(int,input().split()))
l.sort()
print(l[1]*l[0]//2) | 23 |
Project_CodeNet | 2,019 | a, b, c = input().strip().split()
print(int(int(a)*int(b)*0.5)) | 24 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int,input().split())
answer = int((AB * BC) / 2)
print(answer) | 27 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a * b /2)) | 21 |
Project_CodeNet | 2,019 | #ABC116 A
AB, BC, CA = list(map(int, input().split()))
print(AB*BC//2)
| 27 |
Project_CodeNet | 2,019 | ab,bc,ca = map(int,input().split())
print((int)(ab * bc / 2)) | 23 |
Project_CodeNet | 2,020 | A,B,C=map(int,input().split())
ans =A*B//2
print(ans) | 20 |
Project_CodeNet | 2,019 | A, B, C = map(int, input().split())
print(int(A * B / 2)) | 22 |
Project_CodeNet | 2,020 | a, b, c = [int(i) for i in input().split()]
print(int(a*b*0.5)) | 26 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int,input().split())
print(AB*BC//2) | 20 |
Project_CodeNet | 2,019 | inputs= sorted(list(map(int, input().split(" "))))
out = inputs[0] * inputs[1] // 2
print(out) | 32 |
Project_CodeNet | 2,020 | def main():
t = list(map(int, input().split()))
print(t[0]*t[1] // 2)
if __name__ == '__main__':
main() | 39 |
Project_CodeNet | 2,020 | a,s,d=map(int,input().split())
S=(a+s+d)//2
print(int((S*(S-a)*(S-s)*(S-d))**(1/2))) | 37 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int, input().split())
print((AB*BC)//2) | 21 |
Project_CodeNet | 2,019 | length = list(map(int,input().split()))
print(int(min(length)*(sum(length)-max(length)-min(length))*0.5)) | 27 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int, input().split())
print(int(BC * AB / 2))
| 23 |
Project_CodeNet | 2,020 | import sys
stdin = sys.stdin
def ns(): return stdin.readline().rstrip()
def ni(): return int(stdin.readline().rstrip())
def nm(): return map(int, stdin.readline().split())
def nl(): return list(map(int, stdin.readline().split()))
def main():
ab, bc, ca = nm()
print(ab * bc // 2)
if __name__ == '__main__':... | 85 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int((a*b)/2))
| 21 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,019 | import sys
import bisect
input = sys.stdin.readline
L = [int(v) for v in input().split()]
print(L[0] * L[1] // 2) | 40 |
Project_CodeNet | 2,019 | inp = input().split()
print(int((int(inp[0]) * int(inp[1]) / 2)))
| 24 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, raw_input().split())
print((AB*BC)/2)
| 22 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,019 | a,b,c=map(int,input().split())
d=a*b*c
print(int(d/(2*max(a,b,c)))) | 26 |
Project_CodeNet | 2,019 | X, Y, Z = list(map(int, input().split()))
print(int(X * Y /2)) | 22 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(int(AB*BC/2)) | 22 |
Project_CodeNet | 2,019 | a = list(map(int,input().split()))
a.sort()
print(a[0]*a[1]//2) | 24 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a * b / 2))
| 22 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int, input().split())
# 直角三角形 ABCがあります。
# ∠ABC= 90°です。
# 三角形ABCの三辺の長さである |AB|,|BC|,|CA|が与えられるので、直角三角形 ABCの面積を求めて下さい。
i = (AB * BC) // 2
print(i) | 105 |
Project_CodeNet | 2,019 |
A,B,C=map(int, input().split()) #複数数値入力 「A B」みたいなスペース空いた入力のとき
print(int(A*B/2)) | 51 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,019 | a,b,c = map(int,input().split())
if(a>b and a>c):
print(b*c/2)
elif(b>c and b>a):
print(c*a/2)
else:
print(int(a*b/2)) | 48 |
Project_CodeNet | 2,019 | x = input()
y = x.split(" ")
triangle = [int(i) for i in y]
max_index = -1
max = 0
for line in range(len(triangle)):
if(triangle[line] > max):
max = triangle[line]
max_index = line
del triangle[max_index]
print(int(triangle[0] * triangle[1] / 2))
| 82 |
Project_CodeNet | 2,019 | ab,bc,ca = map(int, input().split(" "))
A = int((ab*bc)/2)
print(A) | 27 |
Project_CodeNet | 2,019 | ab,bc,ca = map(int,input().split())
square = int(ab*bc/2)
print(square)
| 24 |
Project_CodeNet | 2,019 | a = sorted(map(int, input().split()))
print(int((a[0]*a[1])/2)) | 23 |
Project_CodeNet | 2,020 | a = list(map(int, input().split()))
a.remove(max(a))
print(int(a[0] * a[1] / 2)) | 30 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(ab * bc // 2)
| 21 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,020 | ab,bc,ca = map(int,input().split())
print(ab * bc // 2)
| 20 |
Project_CodeNet | 2,019 | a=list(map(int,input().split()))
a.sort()
print(a[0]*a[1]//2) | 23 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
area = AB * BC / 2
print(int(area)) | 26 |
Project_CodeNet | 2,019 | [print(a*b//2)for a,b in[[int(i) for i in input().split()][:2]]] | 26 |
Project_CodeNet | 2,019 | n=[int(x) for x in input().split()]
print(int(0.5*n[0]*n[1])) | 26 |
Project_CodeNet | 2,019 | AB, BC, CA =map(int, input().split())
print(int(AB*BC/2)) | 22 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split(' '))
print('%d' % (ab * bc / 2))
| 27 |
Project_CodeNet | 2,019 | A , B , C=map(int , input().split())
print(int(A*B/2)) | 20 |
Project_CodeNet | 2,019 | from sys import stdin
############################################
# read data for n sequences.
n = stdin.readline().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
#data = [int(stdin.readline().rstrip()) for _ in range(n)]
out = int(a * b /2)
print(out) | 71 |
Project_CodeNet | 2,019 | A, B, C = (int(x) for x in input().split())
print(A * B // 2) | 25 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(BC * AB // 2) | 22 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(AB * BC //2) | 21 |
Project_CodeNet | 2,019 | x =list( map(int,input().split()))
x.sort()
print(int(0.5*x[0]*x[1]))
| 27 |
Project_CodeNet | 2,019 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
l = list(map(int, input().split()))
l.sort()
print(int(l[0]*l[1]/2))
| 40 |
Project_CodeNet | 2,019 | abc = list(map(int, input().split()))
abc.sort()
print(abc[0]*abc[1]//2) | 26 |
Project_CodeNet | 2,019 | A, B, _ = map(int, input().split())
print(A * B // 2) | 21 |
Project_CodeNet | 2,020 | if __name__ == '__main__':
a,b,c = map(int,input().split())
ans = (b * a) // 2
print(ans) | 34 |
Project_CodeNet | 2,020 | x, y ,z = map(int, input().split())
print(int(0.5*x*y))
| 22 |
Project_CodeNet | 2,019 | listA = list(map(int, input().split()))
listB = (sorted(listA)[:2])
print(int(max(listB)*min(listB)/2)) | 33 |
Project_CodeNet | 2,019 | lis=list(map(int,input().split()))
lis.sort()
print(int(lis[0]*lis[1]*.5)) | 25 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(int(ab*bc/2)) | 21 |
Project_CodeNet | 2,019 | #! usr/bin/env python
# -*- coding: utf-8 -*-
def main():
x, y, z = map(int, input().split())
print(x*y//2)
if __name__ == '__main__':
main()
| 50 |
Project_CodeNet | 2,019 | #A,B,C = map(int,input().split())
AB,BC,CA = map(int,input().split())
#print(AB,BC,CA)
print((AB*BC)//2)
#print((A*B)//2)
| 46 |
Project_CodeNet | 2,020 | a,b,c = [int(i) for i in input().split()]
print(a*b//2) | 21 |
Project_CodeNet | 2,020 | AB,BC,CA = map(int,input().split())
print(AB*BC//2) | 20 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
c,a,b = map(int,input().split())
print(int(a*c/2))
| 25 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(int(ab * bc / 2)) | 22 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split())
print(int(AB * BC / 2)) | 22 |
Project_CodeNet | 2,019 | A,B,C = map(int,(input().split(" ")))
print(int((A*B)/2)) | 21 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,019 | l = list(map(int, input().split()))
l.sort
print(int(l[0]*l[1]/2))
| 25 |
Project_CodeNet | 2,020 | c, a, b = map(int, input().split())
print(int((a*c)/2)) | 21 |
Project_CodeNet | 2,019 | n1, n2, n3 = [int(i) for i in input().split()]
r1 = (n1 * n2) / 2
print(int(r1)) | 40 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(AB*BC//2) | 21 |
Project_CodeNet | 2,019 | A, B, _ = map(int, input().split())
print(int(A*B/2)) | 20 |
Project_CodeNet | 2,019 | a,b,c = map(int,input().split())
sum = (a * b) // 2
print(sum)
| 24 |
Project_CodeNet | 2,019 | A, B, C = map(int, input().split())
print(min(A, B, C)*(A+B+C-max(A, B, C)-min(A, B, C))//2)
| 41 |
Project_CodeNet | 2,019 | N=list(map(int,input().split()))
d=sorted(N)
print(int(N[0]*N[1]/2)) | 25 |
Project_CodeNet | 2,019 | A, B, C = map(int, input().split())
print(A * B // 2) | 21 |
Project_CodeNet | 2,019 | A, B, C = map(int, input().split())
print((A * B) // 2) | 23 |
Project_CodeNet | 2,019 | 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)) | 62 |
Project_CodeNet | 2,020 | side = list(map(int, input().split()))
side.sort()
print(side[0] * side[1] // 2) | 27 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(AB * BC // 2) | 22 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
AB,BC,_ =map(int, input().split())
ans = AB * BC // 2
print(ans)
| 32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.