Source stringclasses 1
value | Date int64 2.01k 2.02k | Text stringlengths 22 783k | Token_count int64 20 394k |
|---|---|---|---|
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2))
| 20 |
Project_CodeNet | 2,019 | a = list(map(int, input().split()))
print(a[0]*a[1]//2) | 22 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int, input().split())
print(BC * AB // 2) | 22 |
Project_CodeNet | 2,019 | a,b,c = map(int, input().split( ))
area = int(a*b /2)
print(area) | 23 |
Project_CodeNet | 2,020 | import sys
A,B,C = map(int,input().split())
if not ( 1 <= A <= 100 and 1 <= B <= 100 and 1 <= C <= 100 ): sys.exit()
if not ( isinstance(A,int) and isinstance(B,int) and isinstance(C,int) ): sys.exit()
print(( A * B ) // 2) | 74 |
Project_CodeNet | 2,019 | ab, bc, ca = map( int, input().split() )
print( int( ab*bc/2 ) ) | 26 |
Project_CodeNet | 2,019 | c, a, b = map(int, input().split())
print(int(c * a / 2))
| 22 |
Project_CodeNet | 2,019 | a, b, c = list(map(int, input().split()))
print(a*b//2) | 20 |
Project_CodeNet | 2,019 | A = list(map(int,input().split()))
print(int(A[0] * A[1] / 2)) | 24 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int, input().split())
print(AB * BC // 2)
| 22 |
Project_CodeNet | 2,020 | ab, bc, ca = map(int, input().split())
print(int(ab*bc*0.5)) | 23 |
Project_CodeNet | 2,019 | from numpy import sqrt
a,b,c = [int(x) for x in input().split()]
s = (a+b+c)/2
print(int(sqrt(s*(s-a)*(s-b)*(s-c)))) | 43 |
Project_CodeNet | 2,019 | n = list(map(int, input().split()))
print(int(n[0]*n[1]/2))
| 22 |
Project_CodeNet | 2,019 | a_b, b_c, c_d = map(int, input().split())
print(int(a_b * b_c / 2)) | 27 |
Project_CodeNet | 2,020 | ab,bc,ca=map(int,input().split())
print(int(bc*ab/2)) | 20 |
Project_CodeNet | 2,019 | if __name__ == '__main__':
AB, BC, CA = map(int, input().split())
answer = int((AB * BC)/2)
print(answer)
| 37 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
ab, bc, ca = map(int,input().split())
res = ab * bc / 2
print("%d" % res) | 51 |
Project_CodeNet | 2,019 | a = list(map(int, input().split()))
a.sort()
print(a[0]*a[1]//2) | 25 |
Project_CodeNet | 2,020 | s=input();print(eval(s[:s.rfind(' ')].replace(' ','*')+'//2')) | 22 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,020 | ab,bc,ca = map(int, input().split())
print(ab*bc//2) | 20 |
Project_CodeNet | 2,019 | # 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()
| 59 |
Project_CodeNet | 2,020 | a, b, c = list(map(int, input().split()))
print(int((a*b)/2)) | 23 |
Project_CodeNet | 2,019 | e = [int(x) for x in input().split()]
print(e[0]*e[1]//2)
| 25 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,019 | x = input().split(' ')
print(int(int(x[0]) * int(x[1]) / 2)) | 24 |
Project_CodeNet | 2,019 | A, B, C = (int(x) for x in input().split())
print(A*B//2)
| 23 |
Project_CodeNet | 2,019 | As = list(sorted(map(int, input().split())))
print((As[0] * As[1] // 2))
| 26 |
Project_CodeNet | 2,020 | # Problem A - Right Triangle
AB, BC, CA = map(int, input().split())
print(AB*BC//2)
| 28 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(bc*ab//2)
| 20 |
Project_CodeNet | 2,020 | a,b,c=map(int, input().split())
ans=a*b/2
print(int(ans)) | 21 |
Project_CodeNet | 2,019 | l = [int(x) for x in input().split()]
print(int(l[0]*l[1]*l[2]/2/max(l))) | 31 |
Project_CodeNet | 2,020 | from sys import stdin
def main():
readline=stdin.readline
c,a,b=map(int,readline().split())
print(c*a//2)
if __name__=="__main__":
main() | 42 |
Project_CodeNet | 2,019 | #!/Users/takahiro.kida/git/atcorder/venv/bin/python
import numpy
import scipy
from collections import defaultdict
from pprint import pprint
a,b,c = [int(x) for x in input().split(" ")]
print (int(a*b/2))
| 58 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
print(int(ab * bc / 2))
| 22 |
Project_CodeNet | 2,019 | a=input()
x=[ int(y) for y in a.split() ]
print(x[0]*x[1]//2) | 27 |
Project_CodeNet | 2,019 | a, b, c = sorted(map(int, input().split()))
print(a * b // 2)
| 22 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int,input().split())
print(int(AB*BC/2))
| 21 |
Project_CodeNet | 2,019 | import math
def heron(A,B,C):
s = (A+B+C)/2
res = math.sqrt(s*(s-A)*(s-B)*(s-C))
return res
A,B,C = map(int,input().split())
Res = heron(A,B,C)
print(int(Res))
| 63 |
Project_CodeNet | 2,019 | a = list(map(int, input().split()))
a.sort()
print(a[0]*a[1]//2) | 25 |
Project_CodeNet | 2,019 | AB, BC, CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,020 | AB,BC,CA = map(int,input().split())
answer = (BC * AB) /2
print(int(answer)) | 26 |
Project_CodeNet | 2,020 | AB,BC,CA = map(int,input().split())
print((AB * BC) // 2)
| 22 |
Project_CodeNet | 2,019 | def right_triangle(AB: int, BC: int, CA: int) -> int:
return (AB * BC) // 2
if __name__ == "__main__":
AB, BC, CA = [int(s) for s in input().split()]
ans = right_triangle(AB, BC, CA)
print(ans)
| 72 |
Project_CodeNet | 2,020 | AB, BC, CA = map(int, input().split())
print(int((AB*BC)/2))
| 22 |
Project_CodeNet | 2,020 | def main():
x, y, z = map(int, input().split())
print(x*y//2)
main() | 27 |
Project_CodeNet | 2,020 | a, b, c = map(int, 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,020 | a, b, c = map(int, input().split())
print(a * b // 2) | 21 |
Project_CodeNet | 2,020 | import sys
from collections import Counter
from collections import deque
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))
a,b,c=mp()
print((a*b)//2) | 58 |
Project_CodeNet | 2,019 | ab,bc,ca=map(int,input().split())
result=(bc*ab)/2
print(int(result))
| 24 |
Project_CodeNet | 2,020 | height, base, hypotenuse = map(int, input().split())
print(height * base // 2) | 23 |
Project_CodeNet | 2,019 | def slove():
import sys
input = sys.stdin.readline
a, b, c = list(map(int, input().rstrip('\n').split()))
print(a * b // 2)
if __name__ == '__main__':
slove()
| 55 |
Project_CodeNet | 2,020 | line = input()
sides= [int(n) for n in line.split()]
sides.sort()
area = round(sides[0] * sides[1]/2)
print(area) | 39 |
Project_CodeNet | 2,019 | from sys import stdin
A = [int(x) for x in stdin.readline().rstrip().split()]
A.sort()
print(int(A[0] * A[1] / 2))
| 39 |
Project_CodeNet | 2,020 | #!/usr/bin/env python3
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collection... | 142 |
Project_CodeNet | 2,020 | #!/usr/bin/env python3
def main():
c, a, b = [int(x) for x in input().split()]
print(c * a // 2)
if __name__ == '__main__':
main()
| 48 |
Project_CodeNet | 2,019 | AB,BC,CA = map(int,input().split())
print(int(AB*BC/2)) | 21 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
import sys
def io_generator():
while True:
yield raw_input()
#+++++++++++++++++++
def main(io):
a, b,c= map(int, io.next().split())
return str((a*b*c)/(2*max(a,b,c)))
#++++++++++++++++++++
if __name__ == "__main__":
io=io_generator()
print main(io)
| 79 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
print((a * b) // 2)
| 23 |
Project_CodeNet | 2,019 | ab, bc, ca = [int(x) for x in input().split()]
print(int(ab * bc / 2))
| 26 |
Project_CodeNet | 2,020 | ver = list(map(int, input().split()))
ver.remove(max(ver))
ans = ver[0] * ver[1] // 2
print(ans) | 33 |
Project_CodeNet | 2,019 | a, b, c = sorted(map(int, input().split()))
print("{}".format(int(a*b/2))) | 24 |
Project_CodeNet | 2,019 | import sys
input = sys.stdin.readline
ab, bc, ca = map(int, input().split())
print(int(ab*bc/2))
| 30 |
Project_CodeNet | 2,019 | a, b, c = [ int(v) for v in input().split() ]
s = (a+b+c)//2
print(int((s*(s-a)*(s-b)*(s-c))**0.5))
| 46 |
Project_CodeNet | 2,019 | ab, bc, ac = map(int, raw_input().split())
big = ab
if big < bc:
big = bc
if big < ac:
big = ac
inc = [ab, bc, ac]
inc.remove(big)
print inc[0] * inc[1] / 2 | 64 |
Project_CodeNet | 2,020 | """
author : halo2halo
date : 16, Jan, 2020
"""
import sys
import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)
a, b, c = map(int, readline().decode('utf8').split())
print(a * b // 2)
| 88 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
print(int(a*b*(1/2))) | 22 |
Project_CodeNet | 2,020 | arr= list(map(int, input().split()))
arr.sort()
print(arr[0] * arr[1] // 2) | 27 |
Project_CodeNet | 2,020 | x,y,z = map(int,input().split())
l = [x,y,z]
m = max(l)
print(x*y*z//m//2) | 31 |
Project_CodeNet | 2,020 | # A - Right Triangle
a,b,c=list(map(int,input().split()))
print((a*b)//2)
| 23 |
Project_CodeNet | 2,020 | abc = list(map(int, input().split()))
print((abc[0] * abc[1]) // 2) | 25 |
Project_CodeNet | 2,019 | ab, bc, ca = map(int, input().split())
area = int(bc*ab/2)
print(area)
| 25 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split(" "))
print(a * b // 2) | 22 |
Project_CodeNet | 2,019 | a, b, c = map(int ,input().split())
print((a*b)//2) | 20 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,020 | li = list(map(int,input().split()))
li.remove(max(li))
print(int(li[0] * li[1] / 2)) | 29 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(int(a*b/2)) | 20 |
Project_CodeNet | 2,019 | a,b,c=list(map(int,(input()).split()))
print (int(((a)*(b))/2)) | 21 |
Project_CodeNet | 2,020 | import sys
from heapq import heappush, heappop
def input(): return sys.stdin.readline().strip()
def main():
p, q, r = map(int, input().split())
print(p * q // 2)
if __name__ == "__main__":
main()
| 61 |
Project_CodeNet | 2,020 | a, b, c = map(int, input().split())
S = (1/2)*a*b*c/max(a,b,c)
print(int(S)) | 32 |
Project_CodeNet | 2,019 | A, B, _ = input(" ").split(" ")
print(int(int(A)*int(B)/2)) | 22 |
Project_CodeNet | 2,019 | in1 = list(map(int ,input().split(" ")))
in1.sort()
print(int((in1[0] * in1[1])/2))
| 33 |
Project_CodeNet | 2,020 | a,b,c = map(int, input().split())
print((a*b*c)//(max(a,b,c)*2)) | 25 |
Project_CodeNet | 2,019 | a=list(map(int, input().split()))
b=sorted(a)
print(int(b[0]*b[1]*0.5))
| 28 |
Project_CodeNet | 2,019 | a, b, c = map(int, input().split())
print(min([a*b, b*c, c*a]) // 2) | 29 |
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(ab * bc // 2) | 21 |
Project_CodeNet | 2,020 | a, b, c = map(int,input().split())
s = (a+b+c)/2
ans = (s*(s-a)*(s-b)*(s-c))**(0.5)
print(int(ans)) | 44 |
Project_CodeNet | 2,019 | # -*- coding: utf-8 -*-
if __name__ == '__main__':
# スペース区切りの整数の入力
b, c, d = map(int, input().split())
# b, c = map(int, input().split())
print(int(b * c / 2.0))
| 72 |
Project_CodeNet | 2,020 | ls = list(map(int,input().split()))
ls.sort()
print(int(ls[0]*ls[1]*0.5)) | 26 |
Project_CodeNet | 2,020 | L = list(map(int,input().split()))
print(L[0]*L[1]//2) | 22 |
Project_CodeNet | 2,019 |
A, B, _ = input().split()
print(int(int(A)*int(B)/2)) | 21 |
Project_CodeNet | 2,020 | a,b,c = map(int, input().split())
print(int(a * b * c / max(a,b,c) / 2)) | 28 |
Project_CodeNet | 2,019 | from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursi... | 347 |
Project_CodeNet | 2,019 | def main():
ab, bc, ca = map(int, input().split())
print(ab * bc // 2)
if __name__ == '__main__':
main()
| 37 |
Project_CodeNet | 2,019 | a, b, _ = list(map(int, input().split()))
print(a * b // 2)
| 22 |
Project_CodeNet | 2,019 | x, y,z = [int(i) for i in input().split()]
print(int(x*y/2)) | 23 |
Project_CodeNet | 2,020 | icase=0
if icase==0:
ab,bc,ca=map(int,input().split())
print(ab*bc//2) | 32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.