Source stringclasses 1
value | Date int64 2.01k 2.02k | Text stringlengths 22 783k | Token_count int64 20 394k |
|---|---|---|---|
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(int(BC * AB / 2)) | 23 |
Project_CodeNet | 2,019 | a,b,c = (int(i) for i in input().split())
tmp= []
tmp.append(a)
tmp.append(b)
tmp.append(c)
res = sorted(tmp)
print(res[0]*res[1]//2) | 47 |
Project_CodeNet | 2,019 | a, b, c = [int(x) for x in input().split()]
sha = max([a, b, c])
print(int(a * b * 0.5)) | 38 |
Project_CodeNet | 2,020 | a = sorted(list(map(int,input().split())))
print ((a[0]*a[1])//2) | 23 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print( int(ab * bc /2)) | 22 |
Project_CodeNet | 2,020 | l=list(map(int,input().split()))
l.sort()
print(l[0]*l[1]//2) | 23 |
Project_CodeNet | 2,019 | abc=list(map(int,input().split()))
abc.sort()
print(abc[0]*abc[1]//2) | 24 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
ans = int(a * b / 2)
print(ans) | 26 |
Project_CodeNet | 2,019 | a,b,c=map(int,input().split())
d=max(a,b,c)
print(int(a*b*c/(2*d))) | 25 |
Project_CodeNet | 2,020 | # -*- coding: <encoding name> -*-
a, b, c = map(int, input().split())
print(a * b // 2) | 30 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
A,B,C = map(int, input().split())
print(int(A*B/2)) | 26 |
Project_CodeNet | 2,020 | A, B, C = map(int, input().split())
print(min(A*B//2, B*C//2, C*A//2)) | 30 |
Project_CodeNet | 2,020 | def main():
a, b, c = list(map(int, input().split()))
print(a * b // 2)
if __name__ == '__main__':
main()
| 38 |
Project_CodeNet | 2,019 | ab,bc,ca=map(int,input().split())
print(int(ab*bc/2)) | 20 |
Project_CodeNet | 2,019 | (a,b,c)=(int(i) for i in input().split())
#print(a,b,c)
s=(a+b+c)/2
t2=s*(s-a)*(s-b)*(s-c)
t=t2**0.5
print(int(t)) | 52 |
Project_CodeNet | 2,019 | a = raw_input()
values = a.split(" ")
values = [int(i) for i in values]
m = max(values)
values = [i for i in values if i!=m]
print(values[0]*values[1]/2) | 51 |
Project_CodeNet | 2,020 | # -*- coding: utf-8 -*-
ab, bc, ca = map(int, input().split())
print(int((ab * bc) / 2)) | 32 |
Project_CodeNet | 2,020 | a,b,c=map(int,input().split())
ans=sorted([a,b,c])
print(int(ans[0]*ans[1]/2)) | 30 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int, input().split())
print(AB*BC//2)
| 21 |
Project_CodeNet | 2,020 | A, B, C = map(int,raw_input().split())
area = (A*B)/2
print area
| 25 |
Project_CodeNet | 2,019 | ab, bc, ac = [int(i) for i in input().split()]
print(ab * bc // 2) | 25 |
Project_CodeNet | 2,019 |
a, b, c = [int(x) for x in input().split()]
print(a*b//2)
| 24 |
Project_CodeNet | 2,019 | import bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import re
import string
import sys
from collections import Counter, deque, defaultdict
from copy import deepcopy
from decimal import Decimal
from fractions import gcd
from functools import lru_cache, reduce
from operator impo... | 171 |
Project_CodeNet | 2,019 | a=list(map(int,input().split()))
print(int(a[0]*a[1]/2)) | 20 |
Project_CodeNet | 2,020 | a,b,c = map (int, input ().split ())
x = round (a*b/2)
print (x) | 25 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
S = int(AB*BC / 2)
print(S) | 28 |
Project_CodeNet | 2,019 | edges = sorted(list(map(int, input().split())))
print(int(edges[0] * edges[1] * 0.5)) | 28 |
Project_CodeNet | 2,019 | a,b,c = map(int,input().split(" "))
print((a * b) // 2) | 21 |
Project_CodeNet | 2,020 | c, a, b = map(int, input().split())
print(a*c // 2) | 20 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,019 | A,B,C = list(map(int,input().split()))
print(int(A*B*0.5)) | 20 |
Project_CodeNet | 2,020 | l = list(map(int,input().split()))
l.sort()
print(l[0]*l[1]//2)
| 24 |
Project_CodeNet | 2,019 | import sys
def main():
a, b, c = map(int,input().split())
print(int(a*b/2))
if __name__ == "__main__":
main()
| 38 |
Project_CodeNet | 2,019 | c,a,b = map(int, input().split())
print(int(a * c / 2)) | 20 |
Project_CodeNet | 2,019 | A, B, C = (int(x) for x in input().split())
if (A < C) & (B < C):
print (A*B//2)
elif (A<B) & (C&B):
print (A*C//2)
else:
print (B*C//2)
| 65 |
Project_CodeNet | 2,019 | A,B,C = (int(i) for i in input().split())
ans = A * B // 2
print(ans) | 27 |
Project_CodeNet | 2,019 | # ABC116a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)
a, b, c = map(int, input().split())
print(a*b//2)
| 43 |
Project_CodeNet | 2,019 | def main():
c, a, b = map(int, input().split())
m = max(a, b, c)
if a == m:
print(b * c // 2)
elif b == m:
print(a * c // 2)
else:
print(a * b // 2)
main()
| 71 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,019 | ab, bc, ca = [int(a) for a in input().split()]
print (int(ab * bc / 2)) | 27 |
Project_CodeNet | 2,019 | import math
inp = input().split()
ab = int(inp[0])
bc = int(inp[1])
ca = int(inp[2])
print(math.ceil(0.5*ab*bc))
| 42 |
Project_CodeNet | 2,019 | import sys
input = sys.stdin.readline
import numpy as np
L = [int(x) for x in input().rstrip().split()]
L = sorted(L)
print(int((1/2) * L[0] * L[1]))
| 51 |
Project_CodeNet | 2,020 | a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
ls=[a,b,c]
ls.sort()
print(int(ls[0]*ls[1]/2)) | 40 |
Project_CodeNet | 2,020 | def main():
a, b, c = (int(i) for i in input().split())
print(a*b//2)
if __name__ == '__main__':
main()
| 39 |
Project_CodeNet | 2,019 | c, a, _ = map(int, input().split())
print(c * a // 2)
| 21 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(round(a*b / 2)) | 21 |
Project_CodeNet | 2,020 | A, B, C = map(int, input().split())
print(A * B // 2) | 21 |
Project_CodeNet | 2,020 | ary1 = list(map(int,input().split()))
ary2 = sorted(ary1)
print((ary2[0]*ary2[1])//2)
| 33 |
Project_CodeNet | 2,019 | AB, BC, _ = map(int, input().split())
print(AB*BC//2) | 21 |
Project_CodeNet | 2,020 | a_b, b_c, c_a = map(int, input().split())
print((a_b*b_c)//2)
| 25 |
Project_CodeNet | 2,019 | x, y, z = map(int, input().split())
print(int(x*y/2)) | 20 |
Project_CodeNet | 2,020 | nums = list(map(int, input().split()))
nums.sort()
print(int((nums[0] * nums[1])/2)) | 27 |
Project_CodeNet | 2,019 | def abc():
ab, bc, ca = map(int, input().rstrip().split())
print(int(ab * bc / 2))
abc()
| 31 |
Project_CodeNet | 2,019 | i = list(map(int, input().split()))
ab = i[0]
bc = i[1]
ca = i[2]
print(round(ab * bc / 2)); | 37 |
Project_CodeNet | 2,019 | a,b,c = map(int,input().split())
if a > b and a > c:
print(int(b * c /2))
elif b > a and b > c:
print(int(a * c / 2))
else:
print(int(b * a / 2))
| 59 |
Project_CodeNet | 2,020 | a,b,c=map(int,input().split())
if a**2+b**2==c**2:
print(a*b//2)
elif a**2+c**2==b**2:
print(a*c//2)
else:
print(b*c//2) | 57 |
Project_CodeNet | 2,019 | print([int(i[0])*int(i[1])//2 for i in[input().split()]][0]) | 24 |
Project_CodeNet | 2,020 | c, a, b = map(int, input().split())
print(int(c*a*0.5)) | 22 |
Project_CodeNet | 2,020 | a, b, c = [int(i) for i in input().split()]
if a >= b and a >= c:
print(c*b//2)
elif b >= c and b >= a:
print(a*c//2)
else:
print(a*b//2)
| 55 |
Project_CodeNet | 2,019 | ab , bc , ca = map(int,input().split())
print(int(ab * bc / 2)) | 21 |
Project_CodeNet | 2,019 | # N = input() # 単純な入力
# input = list(input()) # ひとかたまりの文字列をリスト化
# N = int(input()) # 整数一つ
# input = input().split() # スペース区切りを文字としてリスト化
X,Y,Z = map(int,input().split()) # 2個や3個の整数をそれぞれ取得
# input = list(map(int,input().split())) #整数リストの取得
print(int(X*Y/2)) | 134 |
Project_CodeNet | 2,020 | def main():
num = list(map(int,input().split()))
print( int(num[0]*num[1]/2) )
main() | 31 |
Project_CodeNet | 2,019 | import math
l = list(map(int, input().split()))
s = sum(l)/2
ans = int(math.sqrt(s * (s - l[0]) * (s - l[1]) * (s - l[2])))
print(ans) | 53 |
Project_CodeNet | 2,020 | def ABC_116_A():
AB,BC,CA = map(int, input().split())
print(int(AB*BC/2))
if __name__ == '__main__':
ABC_116_A() | 46 |
Project_CodeNet | 2,020 | AB,BC,CA = map(int,input().split())
print(int(AB*BC/2))
| 21 |
Project_CodeNet | 2,020 | # A - Right Triangle
# AB BC CA
AB, BC, CD = map(int, input().split())
print(int(AB * BC / 2)) | 35 |
Project_CodeNet | 2,019 | l=list(map(int,input().split()))
p=l[0]*l[1]/2
print(int(p)) | 23 |
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(round(a * b * (1/2))) | 21 |
Project_CodeNet | 2,019 | A,B,_ = list(map(int,input().split(" ")))
print(int(A*B/2)) | 20 |
Project_CodeNet | 2,020 | a,b,c=[int(i) for i in input().split()]
print((a*b)//2) | 21 |
Project_CodeNet | 2,019 | x, y, z = map(int, input().split())
print(x * y // 2) | 21 |
Project_CodeNet | 2,019 | A=list(map(int,input().split()))
print(A[0]*A[1]*1//2) | 21 |
Project_CodeNet | 2,019 | s = list(map(int, input().split()))
s.sort()
print(int(s[0]*s[1]/2))
| 26 |
Project_CodeNet | 2,019 | A=list(map(int,input().split()))
A.sort()
ans=int(A[0]*A[1]/2)
print(ans)
| 26 |
Project_CodeNet | 2,019 | li = list(map(int, input().split()))
print(int(li[0] * li[1] / 2))
| 25 |
Project_CodeNet | 2,019 | A, B, C = map(int,input().split())
ans = A * B / 2
print(int(ans)) | 25 |
Project_CodeNet | 2,019 | AB, BC, CA = [ int(x) for x in input().split() ]
ans = (AB * BC) // 2
print(ans)
print()
| 34 |
Project_CodeNet | 2,020 | 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) | 60 |
Project_CodeNet | 2,019 | n = list(map(int, input().split()))
n.sort()
print(n[0] * n[1] // 2)
| 27 |
Project_CodeNet | 2,019 | def abc116_a():
a = sorted(list(map(int, input().split())))
print(a[0] * a[1] // 2)
abc116_a() | 36 |
Project_CodeNet | 2,019 | #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)) | 57 |
Project_CodeNet | 2,020 | import math
import collections
from sys import exit
from itertools import product
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))
l = li()
l.sort()
print(l[0]*l[1]//2) | 63 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(ab * bc // 2)
| 21 |
Project_CodeNet | 2,019 | AB,BC,CA=list(map(int,input().split()))
print(AB*BC//2) | 20 |
Project_CodeNet | 2,019 | def A():
ab, bc, ca = (int(x) for x in input().split())
if pow(ab,2) + pow(bc,2) != pow(ca,2):
print("invalid")
print(int(ab * bc /2))
if __name__== '__main__':
A()
| 65 |
Project_CodeNet | 2,020 | a = sorted(list(map(int,input().split())))
print(a[0]*a[1]//2) | 22 |
Project_CodeNet | 2,020 | #三辺を導入
a,b,c = map(int,input().split())
#面積を計算)
area = int(a*b*0.5)
print(area) | 40 |
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())
print(AB*BC//2) | 20 |
Project_CodeNet | 2,019 | import sys
from collections import deque
import copy
import math
def get_read_func(fileobject):
if fileobject == None :
return raw_input
else:
return fileobject.readline
def main():
if len(sys.argv) > 1:
f = open(sys.argv[1])
else:
f = None
read_func = get_read_func(... | 139 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int, input().split())
S = int(AB * BC / 2)
print(S)
| 27 |
Project_CodeNet | 2,019 | A, B, _ = sorted(map(int, input().split()))
print(A * B // 2)
| 22 |
Project_CodeNet | 2,019 | a,b,c=list(input().split())
A=int(int(a)*int(b)/2)
print(A) | 21 |
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.sort()
l.reverse()
l.pop(0)
print(l[0]*l[1]//2)
| 33 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split(' '))
print(ab * bc // 2) | 22 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split())
print(round(AB*BC/2))
| 21 |
Project_CodeNet | 2,019 | x=list(map(int,input().split()))
x.sort()
print(int(x[0]*x[1]/2)) | 23 |
Project_CodeNet | 2,019 | ab,bc,ca = map(int,input().split())
print(int(ab*bc/2))
| 20 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.