s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s126068194
p03997
u553070631
1570333064
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a=int(input()) b=int(input()) h=int(input()) print(int(((a+b)*h/2))
s785977336
p03997
u396890425
1569782016
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,h=map(int, input().split());print((a+b)*h//2)
s568305226
p03997
u396890425
1569781840
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,h=map(int, input().split());print((a+b)*h//2)
s754809574
p03997
u396890425
1569781714
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int, input().split());print((a+b)*h/2)
s903101709
p03997
u821989875
1569526517
Python
Python (3.4.3)
py
Runtime Error
18
2940
97
# -*- coding: utf-8 -*- a = int(input()) b = int(input()) h = int(input()) return (a + b) * h / 2
s259788820
p03997
u174273188
1569008012
Python
PyPy3 (2.4.0)
py
Runtime Error
186
38256
126
def resolve(): a, b, h = map(int, input().split()) print((a + b) * h // 2) if __name__ == "__main__": resolve()
s248445860
p03997
u174273188
1569007154
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
132
def resolve(): a, b, h = list(map(int, input().split())) print((a + b) * h // 2) if __name__ == "__main__": resolve()
s453196782
p03997
u644778646
1568857089
Python
Python (3.4.3)
py
Runtime Error
18
3188
63
a=int(input()) b=int(input()) h=int(input()) print((a+b)*h/2)
s797658412
p03997
u391340825
1568234768
Python
Python (3.4.3)
py
Runtime Error
17
2940
183
def main(): linie = input() vector = [int(x) for x in linie.split()] x = vector[0] y = vector[1] h = vector[2] print(((x + y) * h) // 2) if __name__ == "__main__": main()
s921130776
p03997
u414558682
1568174169
Python
Python (3.4.3)
py
Runtime Error
17
3064
340
S = {} A = input() B = input() C = input() S['a'] = A S['b'] = B S['c'] = C player = 'a' for i in range(len(A) + len(B) + len(C)): # pass # print(S[player][0]) S[player] = S[player][1:] if len(S[player]) == 0: break player = S[player][0] # print(A) # print(B) # print(C) print(player.upper())
s584887394
p03997
u414558682
1568174001
Python
Python (3.4.3)
py
Runtime Error
17
3064
335
S = {} A = input() B = input() C = input() S['a'] = A S['b'] = B S['c'] = C player = 'a' for i in range(len(A) + len(B) + len(C)): # pass # print(S[player][0]) player = S[player][0] S[player] = S[player][1:] if len(S[player]) == 0: break # print(A) # print(B) # print(C) print(player.upper())
s859863112
p03997
u414558682
1568173901
Python
Python (3.4.3)
py
Runtime Error
17
3064
335
S = {} A = input() B = input() C = input() S['a'] = A S['b'] = B S['c'] = C player = 'a' for i in range(len(A) + len(B) + len(C)): # pass # print(S[player][0]) player = S[player][0] S[player] = S[player][1:] if len(S[player]) == 0: break # print(A) # print(B) # print(C) print(player.upper())
s072112369
p03997
u798316285
1568071151
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
a,b,h=map(int,input().split()) print((a+b)*h//2)
s772512868
p03997
u117193815
1567923090
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a = int(input()) b = int(input()) c = int(input()) print(int(((a+b)*c)/2)
s089627121
p03997
u206873502
1567653014
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a=int(input()) b=int(input()) h=int(input()) s=int((a+b)*h/2) print("{}".format(s)
s684759351
p03997
u206873502
1567652313
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a=int(input()) b=int(input()) h=int(input()) print({}.format((a+b)*h/2))
s313642535
p03997
u539018546
1567642866
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
x=[] for i in range(3): x[i]=int(input()) print((x[0]+x[1])*x[2]/2)
s069052433
p03997
u539018546
1567642804
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
x=[] for i in range(3): x[i]=int(input()) print((x[0]+x[1])*x[2]/2)
s196619919
p03997
u426964396
1566835121
Python
Python (3.4.3)
py
Runtime Error
17
3056
203
import time def trapezium(a,b,d): return (a+b)*d/2 A=int(input) B=int(input) D=int(input) S=trapezium(A,B,D) for i in range(20): print(chr(9608),end='') time.sleep(0.10) print('\n',S) input()
s811857834
p03997
u640603056
1566528298
Python
Python (3.4.3)
py
Runtime Error
19
2940
63
a, b, h = map(int, input().split()) s = (a+b)*h/2 print(int(s))
s900025240
p03997
u175489229
1566528278
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = int(input()) b = int(input()) h = int(input()) x = (a + b)h/2 print(x)
s851726089
p03997
u640603056
1566528211
Python
Python (3.4.3)
py
Runtime Error
19
2940
57
a, b, h = map(int, input().split()) print((a+b)*int(h/2))
s299815843
p03997
u175489229
1566528130
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,h = map(int,input().split()) x = (a + b) // h print(x)
s786124597
p03997
u640603056
1566528083
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a, b, h = map(int, input().split()) S = (a+b)* h / 2 print(S)
s334988861
p03997
u640603056
1566528020
Python
Python (3.4.3)
py
Runtime Error
17
3060
71
a, b, h = map(int, input().split()) S = (a+b)/2 * h S = int(S) print(S)
s187375074
p03997
u640603056
1566527993
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a, b, h = map(int, input().split()) S = (a+b)/2 * h S = int(S) print(S)
s734668608
p03997
u640603056
1566527929
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print(int((a+b)/2 * h))
s772619628
p03997
u640603056
1566527899
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print(int((a+b)/2 * h))
s239074551
p03997
u717626627
1566522256
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
b = int(input()) h = int(input()) print((a+b)*h/2)
s688243436
p03997
u717626627
1566522212
Python
Python (3.4.3)
py
Runtime Error
17
2940
134
a = int(input()) b = int(input()) h = int(input()) print(a*b*h/2)a = int(input()) b = int(input()) h = int(input()) print((a+b)*h/2)
s418472785
p03997
u665367149
1566437963
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
a, b, h = [int(i) for i in input().split()] if h == 0: print(0) print((a + b) * h * (1/2))
s419677135
p03997
u665367149
1566437896
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a, b, h = [int(i) for i in input().split()] print((a + b) * h * (1/2))
s459443929
p03997
u360515075
1566407226
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
a = int(input) b = int(input) h = int(input) print ((a+b)*h //2)
s314856263
p03997
u360515075
1566407181
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
a, b, h = map(int, input().split()) print ((a+b)*h //2)
s871565318
p03997
u624075921
1565891947
Python
PyPy3 (2.4.0)
py
Runtime Error
182
38512
84
a = int(input()) b = int(input()) c = int(input()) area = ((a+b)*h)//h print(area)
s712325716
p03997
u453500284
1565888698
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print((input()+input())*input()//2)
s007672788
p03997
u111365362
1565709021
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a,b,h = map(int,input().split()) print( (a+b) * h // 2 )
s568147775
p03997
u740047492
1565391873
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a, b, h = [int(input()) for _ i in range(3)] print(int((a+b)*h/2))
s786687810
p03997
u740047492
1565391333
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,h=[int(input()) for _ i in range(3)] print((a+b)*h//2)
s264881569
p03997
u740047492
1565391245
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a,b,c=[int(input()) for _ i in range(3)] print(int(a+b)*h/2)
s886655060
p03997
u740047492
1565391217
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,c=[int(input()) for _ i in range(3)] print((a+b)*h//2)
s075936673
p03997
u740047492
1565391165
Python
Python (3.4.3)
py
Runtime Error
18
3060
56
a,b,c=[int(input()) for_i in range(3)] print((a+b)*h//2)
s255303328
p03997
u330310077
1565322910
Python
Python (3.4.3)
py
Runtime Error
17
2940
198
dk = {} dk["a"] = input() dk["b"] = input() dk["c"] = input() n = "a" while True: if len(dk[n]) == 0: print(n.upper()) break nn = dk[n][0] dk[n] = dk[n][1:] n = nn
s966941390
p03997
u330310077
1565322756
Python
Python (3.4.3)
py
Runtime Error
17
2940
204
dk = {} dk["a"] = input() dk["b"] = input() dk["c"] = input() n = "a" while true: if len(dk[n]) == 0: return print(n.upper()) break nn = dk[n][0] dk[n] = dk[n][1:] n = nn
s046298586
p03997
u297651868
1564797961
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a.b.h= [int(input()) for i in range(3)] print(int((a+b)*h/2))
s507140697
p03997
u839270538
1564004822
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a = int(input()) b = int(input()) c = int(input()) print(h * (a+b) // 2)
s483880907
p03997
u920391637
1563492386
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int, input().split()) print((a+b)*h/2)
s819152031
p03997
u920391637
1563492304
Python
Python (3.4.3)
py
Runtime Error
19
3060
50
a,b,h = map(int, input().split()) print((a+b)*h/2)
s560566850
p03997
u920391637
1563492215
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
a,b,c = map(int, input().split()) print((a+b)*c/2)
s502572600
p03997
u920391637
1563492165
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
a,b,c = map(int, input().split()) print((a+b)*c/2)
s606764179
p03997
u675073679
1563484233
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
a,b,h = map(int,input().split()) print(int((a + b) * h / 2))
s643400902
p03997
u675073679
1562877270
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = input(int()) b = input(int()) h = input(int()) print((a + b) * h / 2)
s269975768
p03997
u687044304
1562157198
Python
Python (3.4.3)
py
Runtime Error
17
2940
150
# -*- coding:utf-8 -*- def solve(): a, b, h = list(map(int, input().split())) print(int((a+b)*h//2)) if __name__ == "__main__": solve()
s577609431
p03997
u003501233
1561407802
Python
Python (3.4.3)
py
Runtime Error
18
2940
59
a=int(input() b=int(input() h=int(input() print((a+b)*h//2)
s482019110
p03997
u003501233
1561407511
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,inpuut().split()) print((a+b)*h/2)
s828031732
p03997
u003501233
1561407482
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
a,b,h=map(int,inpuut().split()) print((a+b)*2/2)
s066536152
p03997
u136811344
1560532867
Python
Python (3.4.3)
py
Runtime Error
17
3060
153
S = dict() S['a'] = list(input())[::-1] S['b'] = list(input())[::-1] S['c'] = list(input())[::-1] p = 'a' while S[p]: p = S[p].pop() print(p.upper())
s718358618
p03997
u637918426
1559688685
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a, b, h = map(int, input().split()) S = (a + b) * h // 2 print(S)
s229935802
p03997
u637918426
1559688598
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
a, b, h = map(int, input().split()) S = (a + b) * h /2 print(S)
s883093805
p03997
u637918426
1559688542
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a, b, h = map(int, input().split()) S = (a + b) * h /int(2) print(S)
s686219090
p03997
u637918426
1559688308
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a, b, h = map(int, input().split()) S = (a + b) * h /int(2) print(S)
s023927064
p03997
u637918426
1559688236
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a, b, h = map(int, input().split()) S = int((a + b) * h /2) print(S)
s962397194
p03997
u623687794
1559584937
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a=int(input()) b=int(input()) c=int(input()) print(((a+b)*h)//2)
s651072089
p03997
u816919571
1559308764
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
n = [int(inout()) for _ in [0]*3] print( int(((n[0]+n[1])*n[2])/2) )
s150742582
p03997
u016622494
1559188907
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a = input() b = input() h = input() print((a+b)*h/2)
s633114002
p03997
u016622494
1559188870
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
a = input() b = input() h = input print((a+b)*h/2)
s211052775
p03997
u016622494
1559188833
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a=input() b=input() h=input() print((a+b)*h+/2)
s274595825
p03997
u016622494
1559188756
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
a=input() b=input() h=input print((a+b)*h+/2)
s434583689
p03997
u117579775
1559156692
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a = [] for i in range(3): a.append(input()) print((a[0] + a[1]) * a[2] / 2)
s850647130
p03997
u041075929
1559083087
Python
Python (3.4.3)
py
Runtime Error
20
3316
189
import sys, os f = lambda:list(map(int,input().split())) if 'local' in os.environ : sys.stdin = open('./input.txt', 'r') def solve(): a,b,h = f() print((a+b)*h//2) solve()
s793533484
p03997
u266874640
1558431528
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a = int(input()) b = int(input()) h = int(input()) print(int(((a + b) * h / 2))
s996788661
p03997
u266874640
1558431327
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a = int(input()) b = int(input()) h = int(input print((a + b)/2*h)
s387120370
p03997
u363992934
1557880401
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
print((int(input())+int(input())*int(input())//2)
s857230820
p03997
u363992934
1557880333
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print((input()+input())*input()//2)
s239808854
p03997
u840810569
1557339382
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a,b,c,d = map(int,input().split()) print(max(a*b,c*d))
s049424340
p03997
u532966492
1557172359
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,h=map(int,input().split());print((a+b)*h/2)
s394361332
p03997
u875347753
1557170574
Python
Python (3.4.3)
py
Runtime Error
20
3060
70
a = int(input()) b = iny(input()) h = int(input()) print((a + b)*h/2)
s767687557
p03997
u806855121
1557146849
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a, b, h = map(int, input().split()) print((a+b)*h//2)
s645606346
p03997
u409064224
1556473998
Python
Python (3.4.3)
py
Runtime Error
18
2940
68
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h/2)
s423522702
p03997
u609738635
1556406093
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
# -*- coding: utf-8 -*- def solve(a, b, h): print(int((a+b)*h/2) if __name__ == '__main__': a = int(input()) b = int(input()) h = int(input()) solve(a, b, h)
s615879300
p03997
u389910364
1556069964
Python
Python (3.4.3)
py
Runtime Error
23
3700
909
import functools import os import sys sys.setrecursionlimit(10000) INF = float('inf') def inp(): return int(input()) def inpf(): return float(input()) def inps(): return input() def inl(): return list(map(int, input().split())) def inlf(): return list(map(float, input().split())) def inls(): return input().split() def inpm(line): return [inp() for _ in range(line)] def inpfm(line): return [inpf() for _ in range(line)] def inpsm(line): return [inps() for _ in range(line)] def inlm(line): return [inl() for _ in range(line)] def inlfm(line): return [inlf() for _ in range(line)] def inlsm(line): return [inls() for _ in range(line)] def Yesif(cond): print('Yes' if cond else 'No') def YESIF(cond): print('YES' if cond else 'NO') def yesif(cond): print('yes' if cond else 'no') a, b, c =inpm() print((a+b) /2* c)
s435920153
p03997
u149752754
1555639635
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a = input() b = input() h = input() print((a+b)*h//2)
s477771998
p03997
u331464808
1555352558
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = int(input()) b = int(input()) h = int(input()) s == (a+b)*h/2 print(s)
s501563126
p03997
u457960175
1555006840
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
a, b, h = map(int(input).sprit()) print((a + b) * h / 2)
s608134632
p03997
u055941944
1554520083
Python
Python (3.4.3)
py
Runtime Error
17
2940
176
# -*- coding utf-8 -*- n = int(input()) k = int(input()) x = int(input()) y = int(input()) if n <= k : print(n*x) elif k < n : ans = (k*x) + (y*(n-k)) print(ans)
s196954995
p03997
u279493135
1554509560
Python
Python (3.4.3)
py
Runtime Error
18
3064
1570
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from heapq import heappop, heappush, heapify, heappushpop from bisect import bisect_left, bisect_right from itertools import permutations, combinations, product from operator import itemgetter, mul from copy import deepcopy from functools import reduce, partial from fractions import Fraction from string import ascii_lowercase, ascii_uppercase, digits def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) sys.setrecursionlimit(10 ** 9) INF = float('inf') MOD = 10 ** 9 + 7 a = INT() b = INT() h = INT() print(int((a+b)*h/2))import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from heapq import heappop, heappush, heapify, heappushpop from bisect import bisect_left, bisect_right from itertools import permutations, combinations, product from operator import itemgetter, mul from copy import deepcopy from functools import reduce, partial from fractions import Fraction from string import ascii_lowercase, ascii_uppercase, digits def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) sys.setrecursionlimit(10 ** 9) INF = float('inf') MOD = 10 ** 9 + 7 a = INT() b = INT() h = INT() print(int((a+b)*h/2))
s398850352
p03997
u121732701
1554499586
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = int(input()) b = int(input()) h = int(input()) print(int((a+b)*h/2)
s073375800
p03997
u405947212
1554215119
Python
Python (3.4.3)
py
Runtime Error
17
3060
245
cards = [input() for i in range(3)] now = 0 index =[0,0,0] dic={"a":0,"b":1,"c":2} while True: if index[now] == len(cards[now]): break idx = index[now] index[now] += 1 now = dic[cards[now][idx]] print("ABC"[now])
s188638401
p03997
u748311048
1554211297
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a=input();b=input();h=input() print((a+b)*h//2)
s295933440
p03997
u748311048
1554210869
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a=input();b=input();h=input() print((a+b)/2*h)
s937308043
p03997
u036363750
1554072556
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
#!/usr/bin/env python3 def main(): a = [int(input()) for i in range(3)] print(int((a[0]+a[1])*a[2]/2)) if __name__=='__main__':main() ~
s715526260
p03997
u280512618
1553948909
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
print((int(input())+(int(input()))*int(input())//2)
s561518021
p03997
u268516119
1553275389
Python
Python (3.4.3)
py
Runtime Error
18
2940
69
[i for i in [a,b,h]=[int(input()) for i in range(3)] print((a+b)*h/2)
s919743273
p03997
u844123804
1552938861
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
num = [input() for i in range(3)] print((num[0]+num[1])*num[2]/2)
s616905043
p03997
u890950695
1552842521
Python
Python (3.4.3)
py
Runtime Error
17
2940
212
# -*- coding: utf-8 -*- # 整数の入力 a = int(input()) # 整数の入力 b = int(input()) # 整数の入力 h = int(input()) # スペース区切りの整数の入力 # 出力 print("{}".format((a+b)*h/2)))
s475928814
p03997
u403984573
1551300795
Python
Python (3.4.3)
py
Runtime Error
20
3060
61
a=int(input()) b=int(input()) h=int(input()) print((A+B)*h/2)
s745883996
p03997
u185464141
1551050518
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a,b,h = map(int, input().split()); print(int((a + b) * h / 2))
s771253908
p03997
u185464141
1551050436
Python
Python (3.4.3)
py
Runtime Error
18
2940
56
a,b,h = map(int, input().split()) print((a + b) * h / 2)
s501390206
p03997
u185464141
1551050403
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38256
57
a,b,h = map(int, input().split()); print((a + b) * h / 2)
s326680102
p03997
u449555432
1550948123
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h=map(int,input().split());print(int((a+b)*h/2))