s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s992643356
p03997
u825601908
1585712355
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a=int(input()) b=int(input()) h=int(input()) print(((a+b)*h)//2))
File "/tmp/tmphvaa99bk/tmpju2z8ppg.py", line 4 print(((a+b)*h)//2)) ^ SyntaxError: unmatched ')'
s593249568
p03997
u825601908
1585712203
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a=int(input()) b=int(input()) h=int(input()) print((a+b)*h/2))
File "/tmp/tmpha3qypvt/tmpxzt1399u.py", line 4 print((a+b)*h/2)) ^ SyntaxError: unmatched ')'
s502665800
p03997
u825601908
1585712158
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a=int(input()) a=int(input()) a=int(input()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpu5n1dgrq/tmppjcz9m78.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s921310994
p03997
u825601908
1585701786
Python
Python (3.4.3)
py
Runtime Error
17
2940
22
print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmp3yxfk3pi/tmpm13squg1.py", line 1, in <module> print(int((a+b)*h/2)) ^ NameError: name 'a' is not defined
s360085820
p03997
u825601908
1585701465
Python
Python (3.4.3)
py
Runtime Error
17
2940
16
int("(a+b)*h/2")
Traceback (most recent call last): File "/tmp/tmpf5t9rt91/tmpuig6ijrr.py", line 1, in <module> int("(a+b)*h/2") ValueError: invalid literal for int() with base 10: '(a+b)*h/2'
s418835584
p03997
u063346608
1585682077
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a,b,h = map(int,input().split()) answer = (a + b) * h / 2 print(int(answer))
Traceback (most recent call last): File "/tmp/tmp_d9ho7dn/tmpjupxd4rv.py", line 1, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s699817888
p03997
u063346608
1585682037
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a,b,h = map(int,input().split()) answer = (a + b) * h / 2 print(answer)
Traceback (most recent call last): File "/tmp/tmpzeny1gft/tmpboltv062.py", line 1, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s907661806
p03997
u757030836
1585590247
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
S = {c:list(input()) for c in "abc"} s = "a" while S[s]:s = S[s].pop(0) print(s.upper())
Traceback (most recent call last): File "/tmp/tmpwemq8mur/tmpd2w0hkn6.py", line 1, in <module> S = {c:list(input()) for c in "abc"} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpwemq8mur/tmpd2w0hkn6.py", line 1, in <dictcomp> S = {c:list(input()) for c in "abc"} ^^^^^^^ EOFError: EOF when reading a line
s787263524
p03997
u836737505
1585395416
Python
Python (3.4.3)
py
Runtime Error
19
2940
66
a = int(input()) b = int(input()) c = int(input()) print(a+b*h//2)
Traceback (most recent call last): File "/tmp/tmpmx35frvf/tmp7gbywxzs.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s507753754
p03997
u970809473
1585331095
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpfekc7iuz/tmpktzj0f1a.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s225071740
p03997
u255049121
1585097586
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
def foo (a,b,h) x = 0 x += (a+ b) /2 x *= h return x
File "/tmp/tmpljh9mhl7/tmpjt7cn2qy.py", line 1 def foo (a,b,h) ^ SyntaxError: expected ':'
s982022481
p03997
u017415492
1585013992
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
a=int(iput()) b=int(input()) h=int(input()) print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmp9_rqv75q/tmpxvhw3yy8.py", line 1, in <module> a=int(iput()) ^^^^ NameError: name 'iput' is not defined. Did you mean: 'input'?
s646197298
p03997
u159975271
1584987315
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a = int(input()) b = int(input()) h = int(input()) k = (a + b)* h /2 print(round(k)
File "/tmp/tmpfy37uync/tmp3f3zwy_p.py", line 5 print(round(k) ^ SyntaxError: '(' was never closed
s204177605
p03997
u586563885
1584135326
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
a = int(input()) b = int(input()) h = int(input()) print(int((a+b)*h//2))
File "/tmp/tmppyc9llua/tmpol8d4z8r.py", line 4 print(int((a+b)*h//2)) ^ SyntaxError: invalid character '*' (U+FF0A)
s775271339
p03997
u586563885
1584135169
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a = int(input()) b = int(input()) h = int(input()) print((a+b)*h//2)
File "/tmp/tmpvgke8ra4/tmp4g3o22tp.py", line 4 print((a+b)*h//2) ^ SyntaxError: invalid character '*' (U+FF0A)
s671201889
p03997
u586563885
1584135045
Python
Python (3.4.3)
py
Runtime Error
18
2940
90
a= int(input()) b= int(input()) k= int(input()) h= int(input()) h=2*k print((a+b)*h/2)
File "/tmp/tmpmmd6_w4z/tmpb9lx5zkk.py", line 5 h=2*k ^ SyntaxError: invalid character '*' (U+FF0A)
s521774210
p03997
u465152652
1583977825
Python
Python (3.4.3)
py
Runtime Error
16
2940
58
a,b,h = [int(input()) for i in range(3) print((a + b)*h/2)
File "/tmp/tmpljhvb13_/tmpltcy1czl.py", line 1 a,b,h = [int(input()) for i in range(3) ^ SyntaxError: '[' was never closed
s439060540
p03997
u578501242
1583939208
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
x=int(input() y=int(input() z=int(input() print((x+y)*z/2)
File "/tmp/tmpogdnjt44/tmpnb27h2y5.py", line 1 x=int(input() ^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s812431381
p03997
u393881437
1583790819
Python
Python (3.4.3)
py
Runtime Error
16
2940
58
a,b,h = list(map(int, input().split())) print((a+b)*h / 2)
Traceback (most recent call last): File "/tmp/tmp0lyxmgjy/tmpomq90ikd.py", line 1, in <module> a,b,h = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s575873810
p03997
u310394471
1583301988
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
A,B,C = map(int, input().split()) print((A+B)*C)
Traceback (most recent call last): File "/tmp/tmpls6zwbax/tmp7tps5o6d.py", line 1, in <module> A,B,C = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s789274489
p03997
u506858457
1583097561
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
for i in range(3): A[i]=int(input()) #print(A) ans=(A[0]+A[1])*A[2]/2 print(ans)
Traceback (most recent call last): File "/tmp/tmpjp7mupz1/tmpuxjz1o4g.py", line 2, in <module> A[i]=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s795222914
p03997
u996731299
1582950954
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
a=input() b=input() h=input() ans = (a+b)*h/2 print(ans)
Traceback (most recent call last): File "/tmp/tmphcs3e3ly/tmp9zx7f3e0.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s676110864
p03997
u996731299
1582950702
Python
Python (3.4.3)
py
Runtime Error
18
2940
26
ans = (a+b)*h/2 print(ans)
Traceback (most recent call last): File "/tmp/tmpqts26ik_/tmptilj7jhg.py", line 1, in <module> ans = (a+b)*h/2 ^ NameError: name 'a' is not defined
s474474602
p03997
u996731299
1582950660
Python
Python (3.4.3)
py
Runtime Error
17
2940
10
(a+b)*h/2
Traceback (most recent call last): File "/tmp/tmpjmc9anrb/tmpti5pfn_m.py", line 1, in <module> (a+b)*h/2 ^ NameError: name 'a' is not defined
s629419498
p03997
u095556249
1582927990
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = int.print(a) b = int.print(b) h = int.print(h) d = (a+b)*h/2 print(d)
Traceback (most recent call last): File "/tmp/tmp7lkquw1h/tmp0icei1gy.py", line 1, in <module> a = int.print(a) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'print'
s836529489
p03997
u629557958
1582926801
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
for i in range(3): a,b,h = int(input()) ans = (a+b)*h/2 print(ans)
Traceback (most recent call last): File "/tmp/tmp5zc43zey/tmphi3x9dnk.py", line 2, in <module> a,b,h = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s169464316
p03997
u668265509
1582603402
Python
Python (3.4.3)
py
Runtime Error
17
3064
459
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == []: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) print(play('A'))
Traceback (most recent call last): File "/tmp/tmpmima0uqc/tmp6ye9lsse.py", line 21, in <module> print(play('A')) ^^^^^^^^^ File "/tmp/tmpmima0uqc/tmp6ye9lsse.py", line 14, in play next_play = s[player].pop() ^^^^^^^^^^^^^^^ IndexError: pop from empty list
s590044275
p03997
u668265509
1582603301
Python
Python (3.4.3)
py
Runtime Error
18
3060
384
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): next_play = s[player].pop() if len(s[player]) == 0: return player #print(next_play) play(next_play.upper()) print(play('A'))
Traceback (most recent call last): File "/tmp/tmplenu6xxz/tmplbsi9zux.py", line 20, in <module> print(play('A')) ^^^^^^^^^ File "/tmp/tmplenu6xxz/tmplbsi9zux.py", line 13, in play next_play = s[player].pop() ^^^^^^^^^^^^^^^ IndexError: pop from empty list
s914923897
p03997
u668265509
1582603253
Python
Python (3.4.3)
py
Runtime Error
17
3064
445
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: return player #print(next_play) play(next_play.upper()) print(play('A'))
Traceback (most recent call last): File "/tmp/tmpf8ygtqms/tmpwmbmgz73.py", line 21, in <module> print(play('A')) ^^^^^^^^^ File "/tmp/tmpf8ygtqms/tmpwmbmgz73.py", line 12, in play play(play_order[player]) File "/tmp/tmpf8ygtqms/tmpwmbmgz73.py", line 12, in play play(play_order[player]) File "/tmp/tmpf8ygtqms/tmpwmbmgz73.py", line 12, in play play(play_order[player]) [Previous line repeated 996 more times] RecursionError: maximum recursion depth exceeded
s224681987
p03997
u668265509
1582603184
Python
Python (3.4.3)
py
Runtime Error
18
3064
451
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) play('A')
Traceback (most recent call last): File "/tmp/tmppkhece7j/tmppvxf_49z.py", line 21, in <module> play('A') File "/tmp/tmppkhece7j/tmppvxf_49z.py", line 12, in play play(play_order[player]) File "/tmp/tmppkhece7j/tmppvxf_49z.py", line 12, in play play(play_order[player]) File "/tmp/tmppkhece7j/tmppvxf_49z.py", line 12, in play play(play_order[player]) [Previous line repeated 996 more times] RecursionError: maximum recursion depth exceeded
s809836972
p03997
u668265509
1582603025
Python
Python (3.4.3)
py
Runtime Error
17
3064
448
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order['A']) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) play('A')
Traceback (most recent call last): File "/tmp/tmplpvkrm9e/tmp1aj4m7kw.py", line 21, in <module> play('A') File "/tmp/tmplpvkrm9e/tmp1aj4m7kw.py", line 12, in play play(play_order['A']) File "/tmp/tmplpvkrm9e/tmp1aj4m7kw.py", line 12, in play play(play_order['A']) File "/tmp/tmplpvkrm9e/tmp1aj4m7kw.py", line 12, in play play(play_order['A']) [Previous line repeated 996 more times] RecursionError: maximum recursion depth exceeded
s119559274
p03997
u752907799
1582528112
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a, b, h = map(int, input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpj9iriqtw/tmpqul89fmi.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s255931070
p03997
u766566560
1582079259
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
a = int(input()) b = int(input()) h = int(input()) print({a + b} * h // 2)
Traceback (most recent call last): File "/tmp/tmp2jx424uc/tmpm_nfi9sr.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s630308996
p03997
u052221988
1581900144
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a, b, h = [int(input()) for i in range(3)] print(int((a+b)*h/2)
File "/tmp/tmpgninbp9z/tmp7nciirvr.py", line 2 print(int((a+b)*h/2) ^ SyntaxError: '(' was never closed
s303787600
p03997
u698437687
1581586953
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h=map(int,input().split()) print((((a+b)*h)//2)
File "/tmp/tmp_j4115jq/tmpqatskszn.py", line 2 print((((a+b)*h)//2) ^ SyntaxError: '(' was never closed
s451186394
p03997
u698437687
1581586898
Python
Python (3.4.3)
py
Runtime Error
16
2940
49
a,b,h=map(int,input().split()) print(((a+b)*h)/2)
Traceback (most recent call last): File "/tmp/tmpchgj3oix/tmp6fyp5rra.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s643955163
p03997
u995004106
1581551008
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
50
a,b,c=map(int,input().split()) print(((a+b)*c)/2)
Traceback (most recent call last): File "/tmp/tmpiechhrv0/tmp43c6d9rv.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s249575036
p03997
u617659131
1581137926
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a = int(input()) b = int(input()) h = int(input()) print((a+B)*h//2)
Traceback (most recent call last): File "/tmp/tmpjnvpq6bi/tmpw_8995w1.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s546974126
p03997
u752552310
1580295762
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a = input() b = input() h = input() print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpv4s5zj1j/tmpmfvula6a.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s658866410
p03997
u278379520
1579991822
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
a,b,h=map(int,input()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpwpp5xso_/tmp3_dxnv35.py", line 1, in <module> a,b,h=map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s240375316
p03997
u278379520
1579991454
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,h=map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpdjbm3qof/tmpmbeg7yjn.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s058322463
p03997
u193019328
1579647183
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,c = map(int,input().split()) print((a+b)*c/2)
Traceback (most recent call last): File "/tmp/tmpov6ymcn2/tmp89_7j1xq.py", line 1, in <module> a,b,c = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s034633368
p03997
u193019328
1579647033
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
data = int(input().split()) print((data[0]+data[1])*data[2]/2)
Traceback (most recent call last): File "/tmp/tmpsiqg4y7b/tmpt_5a93n0.py", line 1, in <module> data = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s465184196
p03997
u193019328
1579646858
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
from sys import stdin input_data = int(stdin.readline().rstrip()) print((input[0]+input[1])*input[3]/2)
Traceback (most recent call last): File "/tmp/tmpcu8_ojvp/tmps0wd6tki.py", line 3, in <module> input_data = int(stdin.readline().rstrip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s435822007
p03997
u012131682
1579404707
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
import sys a,b,h=map(int,input().split()) square = (a + b) * h / 2 print(int(square))
Traceback (most recent call last): File "/tmp/tmpb660ymgi/tmpfn_j04_q.py", line 3, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s858249213
p03997
u012131682
1579404400
Python
Python (3.4.3)
py
Runtime Error
18
2940
84
import sys a,b,h=map(int,input().split()) square = (a + b) * h / 2 print(square)
Traceback (most recent call last): File "/tmp/tmpd0zu9tdx/tmpvawdc1w8.py", line 3, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s940993326
p03997
u871596687
1579382164
Python
Python (3.4.3)
py
Runtime Error
17
2940
571
sa = [s for s in input()] sb = [s fir s in input()] sc = [s for s in input()] next_turn = "a" flag = True while flag: if next_turn == "a": if len(sa) == 0: print("A") flag = False else: next_turn = sa.pop(0) elif next_tunr == "b": if len(sb) == 0: print("B") flag = false else: next_turn = sb.pop(0) elif next_turn == "c": if len(sc) ==0: print("C") flag = False else: next_turn = sc.pop(0)
File "/tmp/tmpjna2hx6l/tmp_ihkrpin.py", line 2 sb = [s fir s in input()] ^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s021739060
p03997
u843722521
1579316799
Python
PyPy3 (2.4.0)
py
Runtime Error
161
38256
50
print((int(input()+int(input())*(int(input())//2))
File "/tmp/tmp_4peixv5/tmp8ifp_q84.py", line 1 print((int(input()+int(input())*(int(input())//2)) ^ SyntaxError: '(' was never closed
s764771820
p03997
u263933075
1579123215
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,h=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpoauez279/tmpcyxd06kb.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s661983791
p03997
u476418095
1579122099
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,c=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpb8cps3c9/tmpwaxfpvwe.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s563700829
p03997
u789920341
1579039888
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
print((input() + input()) * input() / 2)
Traceback (most recent call last): File "/tmp/tmpadpro0ho/tmp2ziy08j5.py", line 1, in <module> print((input() + input()) * input() / 2) ^^^^^^^ EOFError: EOF when reading a line
s413197839
p03997
u614550445
1577866999
Python
Python (3.4.3)
py
Runtime Error
17
2940
1243
// abc045_a #include <bits/stdc++.h> #ifdef LOCAL #include "../cxx-prettyprint/prettyprint.hpp" #endif using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> P; #define REP(i, n) for (int (i) = 0 ; (i) < (int)(n) ; ++(i)) #define REPN(i, m, n) for (int (i) = m ; (i) < (int)(n) ; ++(i)) #define REP_REV(i, n) for (int (i) = (int)(n) - 1 ; (i) >= 0 ; --(i)) #define REPN_REV(i, m, n) for (int (i) = (int)(n) - 1 ; (i) >= m ; --(i)) #define ALL(x) x.begin(), x.end() #define INF ((1 << 29)-1) #define MOD (1000000007) #define print2D(h, w, arr) REP(i, h) { REP(j, w) cout << arr[i][j] << " "; cout << endl; } #define print_line(vec, n) {for(int i=0;i<(n-1);i++) cout << (vec)[i] << " "; cout << (vec)[(n)-1] << endl;} template<class T> void print(const T& x){cout << x << endl;} template<class T, class... A> void print(const T& first, const A&... rest) { cout << first << " "; print(rest...); } struct PreMain {PreMain(){cin.tie(0);ios::sync_with_stdio(false);cout<<fixed<<setprecision(20);}} premain; int main() { #ifdef LOCAL ifstream in("../arg.txt"); cin.rdbuf(in.rdbuf()); #endif int a, b, h; cin >> a >> b >> h; int ans = (a + b) * h / 2; print(ans); return 0; }
File "/tmp/tmpyhq96nqd/tmpcw46kk2g.py", line 1 // abc045_a ^^ SyntaxError: invalid syntax
s643123170
p03997
u241190800
1577847875
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
data = [int(input()) for i in range(3)] result = data[0]+data[1])*data[2]*0.5 if result == int(result) : print(int(result)) else : print(result)
File "/tmp/tmpaonl_xqg/tmpusk75b81.py", line 2 result = data[0]+data[1])*data[2]*0.5 ^ SyntaxError: unmatched ')'
s164927103
p03997
u918009437
1577667722
Python
Python (3.4.3)
py
Runtime Error
18
2940
67
a=int(input()) b=int(input()) h=int(input()) print(((a+b)*h)//2)
File "/tmp/tmpd_pd6mi2/tmphlwe5fnk.py", line 5 print(((a+b)*h)//2) ^ SyntaxError: invalid character '*' (U+FF0A)
s443141072
p03997
u089376182
1577296422
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h = map(int, input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpx5uj88z8/tmpd7h2xx01.py", line 1, in <module> a,b,h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s200311186
p03997
u972892985
1576756211
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a, b, h = map(int,input().split()) print(((a+b)*h)//2)
Traceback (most recent call last): File "/tmp/tmpnt_bcyz7/tmpr7a66_t7.py", line 1, in <module> a, b, h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s801193862
p03997
u972892985
1576756158
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a, b, h = map(int.input().split()) print(((a+b)*h)//2)
Traceback (most recent call last): File "/tmp/tmpd1nwcu3y/tmpdrzyqwaj.py", line 1, in <module> a, b, h = map(int.input().split()) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'input'
s128398072
p03997
u768896740
1576713951
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h)
Traceback (most recent call last): File "/tmp/tmp3t1e7m5j/tmps0yr2g2m.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s027664427
p03997
u905582793
1576421474
Python
Python (3.4.3)
py
Runtime Error
18
3060
48
a,b,h=map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpums3qzv_/tmp1dmoiofp.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s108113412
p03997
u275212209
1575386154
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
#include <bits/stdc++.h> using namespace std; int main(){ int a, b, h; cin >> a >> b >> h; cout << (a+b)*h/2 << endl; }
File "/tmp/tmp1ik8fyz3/tmpf3cnx10h.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s350675168
p03997
u275212209
1575385973
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a,b,h=list(map(int,input().split())) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpa0lzal30/tmpzg8_iv_h.py", line 1, in <module> a,b,h=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s554527744
p03997
u275212209
1575385939
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpsbipucyf/tmpxgxq5xrv.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s117018981
p03997
u275212209
1575385778
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
a,b,h=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpus4iwoir/tmp9pjq_ixl.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s126729253
p03997
u275212209
1575385755
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
a,b,h= map(int, input().split()) print((a+b)*h/2)a,b,h=map(int,input().split()) print((a+b)*h/2)
File "/tmp/tmpdwp8kb5b/tmpeu5d5kgs.py", line 2 print((a+b)*h/2)a,b,h=map(int,input().split()) ^ SyntaxError: invalid syntax
s379941298
p03997
u275212209
1575385707
Python
Python (3.4.3)
py
Runtime Error
18
3064
49
a,b,h= map(int, input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmprqtpg4kb/tmpbgk7x6xs.py", line 1, in <module> a,b,h= map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s556707298
p03997
u365254117
1575334076
Python
Python (3.4.3)
py
Runtime Error
17
2940
338
lis=list(map(int, list(input() for i in range(3))) tn=0 while len(l[tn])>0: if l[tn][0]=="a": l[tn]=l[tn][1:] tn=0 elif l[tn][0]=="b": l[tn]=l[tn][1:] tn=1 elif l[tn][0]=="c": l[tn]=l[tn][1:] tn=2 if tn==0: print("A") elif tn==1: print("B") elif tn==2: print("C")
File "/tmp/tmp2j8d90m9/tmprmmu14mi.py", line 1 lis=list(map(int, list(input() for i in range(3))) ^ SyntaxError: '(' was never closed
s113805300
p03997
u495296799
1575148301
Python
Python (3.4.3)
py
Runtime Error
17
2940
1
a
Traceback (most recent call last): File "/tmp/tmp4qktqz04/tmpjzqmt8qn.py", line 1, in <module> a NameError: name 'a' is not defined
s561546691
p03997
u582663624
1574981351
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
l=[int(input()) for in in range(3)] a=l[0] b=l[1] h=l[2] print((a+b)*h//2)
File "/tmp/tmp28gbnbri/tmpayfug45p.py", line 1 l=[int(input()) for in in range(3)] ^^ SyntaxError: invalid syntax
s251188535
p03997
u582663624
1574981309
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
l=list(map(int,input().split())) a=l[0] b=l[1] h=l[2] print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpiz30nznh/tmpdecgl7lz.py", line 1, in <module> l=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s879136830
p03997
u616188005
1574785491
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a = int(input()) b = int(input()) h = int(input()) ans = (a+b)*h/2 print()ans
File "/tmp/tmpl2kmgyn4/tmp4unb2h7a.py", line 5 print()ans ^^^ SyntaxError: invalid syntax
s227673130
p03997
u219197917
1574727919
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split());print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpca09qe_p/tmpnfc_crak.py", line 1, in <module> a,b,h=map(int,input().split());print((a+b)*h//2) ^^^^^^^ EOFError: EOF when reading a line
s663139753
p03997
u467831546
1574633791
Python
Python (3.4.3)
py
Runtime Error
19
3060
63
a, b, h = map(int, input().split()) print(int((a + b) * h / 2))
Traceback (most recent call last): File "/tmp/tmpun9jtc34/tmpd0j8t0s7.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s073142858
p03997
u467831546
1574633357
Python
Python (3.4.3)
py
Runtime Error
18
2940
59
a, b, h = map(int, input().split()) print((a + b) * h // 2)
Traceback (most recent call last): File "/tmp/tmpnb7q1yl7/tmpepsgdlfc.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s406331916
p03997
u467831546
1574633184
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmp0v53os28/tmps9kkvhdo.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s804577221
p03997
u467831546
1574633082
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpyfmz_yez/tmpn_db7x9k.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s330851983
p03997
u771538568
1574568531
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
import sys args=sys.argv s=((args[1]+args[2])*args[2])/2 print(s)
Traceback (most recent call last): File "/tmp/tmpa2nqhwfb/tmpq7v4_8zf.py", line 3, in <module> s=((args[1]+args[2])*args[2])/2 ~~~~^^^ IndexError: list index out of range
s258308588
p03997
u123745130
1574366740
Python
Python (3.4.3)
py
Runtime Error
18
2940
119
#include<bits/stdc++.h> using namespace std; int a,b,h; int main{ cin>>a>>b>>h; cout<<(a+b)*h*.5<<endl; return 0; }
File "/tmp/tmpl90babsj/tmp7b9ti4m_.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s235885954
p03997
u123745130
1574366665
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
#include<bits/stdc++.h> using namespace std; int main{ cin>>a>>b>>h; cout<<(a+b)*h*.5<<endl; return 0; }
File "/tmp/tmpryqv9n_c/tmp0zgo4waz.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s201247691
p03997
u699389067
1574359985
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
a = int(input()) b = int(input()) h = int(input()) print((a + b) * h / / 2)
File "/tmp/tmphnairmt9/tmp7itpzh_n.py", line 5 print((a + b) * h / / 2) ^ SyntaxError: invalid syntax
s262385783
p03997
u699389067
1574359727
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a = input() b = input() h = input() print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpn1iwicfj/tmpd9kdtvkh.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s907623126
p03997
u864197622
1574083555
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
N = int(input()) S = [1 if a == "I" else -1 for a in input()] ma = 0 a = 0 for i in range(N): a += S[i] ma = max(ma, a) print(ma)
Traceback (most recent call last): File "/tmp/tmpfikf9fhk/tmpdm1ms5er.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s673725978
p03997
u629560745
1574028378
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a , b , h = [int(input()) for _ in range(3)] printint(((a + b) * h / 2))
Traceback (most recent call last): File "/tmp/tmpool_swte/tmpoo8hojdh.py", line 1, in <module> a , b , h = [int(input()) for _ in range(3)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpool_swte/tmpoo8hojdh.py", line 1, in <listcomp> a , b , h = [int(input()) for _ in range(3)] ^^^^^^^ EOFError: EOF when reading a line
s885268011
p03997
u672882146
1573657976
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int, input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmp79rws7is/tmppov3aq2q.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s126798258
p03997
u052499405
1573615952
Python
Python (3.4.3)
py
Runtime Error
18
2940
23
print((a + b) * h // 2)
Traceback (most recent call last): File "/tmp/tmpfls21a77/tmpkf8zlpyf.py", line 1, in <module> print((a + b) * h // 2) ^ NameError: name 'a' is not defined
s214363947
p03997
u311636831
1573575669
Python
Python (3.4.3)
py
Runtime Error
17
3064
803
A=input() B=input() C=input() i=0 j=0 k=0 c=0 while(True): if(c==0): if(i>=(len(A)+1)): print("A") exit() if(A[i]=="a"): i+=1 c=0 elif(A[i]=="b"): j+=1 c=1 else: k+=1 c=2 elif(c==1): if(j>=(len(B)+1)): print("B") exit() if(B[j]=="a"): i+=1 c=0 elif(B[j]=="b"): j+=1 c=1 else: k+=1 c=2 else: if(k>=(len(C)+1)): print("C") exit() if(C[k]=="a"): i+=1 c=0 elif(C[k]=="b"): j+=1 c=1 else: k+=1 c=2
Traceback (most recent call last): File "/tmp/tmphhfaephu/tmpxmarx5bh.py", line 1, in <module> A=input() ^^^^^^^ EOFError: EOF when reading a line
s402630735
p03997
u867848444
1572990353
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h=map(int,input().split()) print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmp5o7ettqf/tmpr1207cyq.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s800323629
p03997
u867848444
1572989986
Python
Python (3.4.3)
py
Runtime Error
18
3060
52
a,b,h=map(int,input().split()) print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmp91klol5c/tmpxmbxt3x0.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s479736510
p03997
u373958718
1572756019
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a = {i:list(input()) for i in "abc"};b="a" while a[b]: b=a[b].pop(0) print(b.upper())
Traceback (most recent call last): File "/tmp/tmpjliecp1z/tmpkotwk2bt.py", line 1, in <module> a = {i:list(input()) for i in "abc"};b="a" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpjliecp1z/tmpkotwk2bt.py", line 1, in <dictcomp> a = {i:list(input()) for i in "abc"};b="a" ^^^^^^^ EOFError: EOF when reading a line
s525848705
p03997
u143278390
1572745471
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a=int(input()) b=int(input()) h=int(input()) print(int((a+b)*h/2)
File "/tmp/tmp7r9ity4w/tmpiecmo_r8.py", line 5 print(int((a+b)*h/2) ^ SyntaxError: '(' was never closed
s943112651
p03997
u923659712
1572557831
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
a,b,h=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpwf10e9ox/tmpkeq6s311.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s687721950
p03997
u923659712
1572557800
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split()) print((a+B)*h/2)
Traceback (most recent call last): File "/tmp/tmpi_7ecr5i/tmpn4im2202.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s396784199
p03997
u435084726
1572331374
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h=map(int, input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpe9kfglko/tmpwsu96lsf.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s077684738
p03997
u435084726
1572331298
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h=map(int, input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpfeh5taqp/tmp1waajgxl.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s911461670
p03997
u435084726
1572331218
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38256
51
a,b,h=map(int, input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmp3mygrfcl/tmpejsbf9t3.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s631385967
p03997
u435084726
1572330946
Python
PyPy3 (2.4.0)
py
Runtime Error
161
38256
62
a,b,h=map(int, input().split()) N = (a+b)*h/2 print(int(N))
Traceback (most recent call last): File "/tmp/tmpw3d1e0t9/tmp97p5q869.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s810869387
p03997
u435084726
1572330854
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38512
62
a,b,h=map(int, input().split()) N = int((a+b)*h/2) print(N)
Traceback (most recent call last): File "/tmp/tmpfa23p_sl/tmpx8sqnd5f.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s982227349
p03997
u435084726
1572330487
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38256
59
a,b,h=map(int, input().split()) N = ((a+b)*h)/2 print(N)
Traceback (most recent call last): File "/tmp/tmp5vrm6onq/tmpt1if6ewn.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s847548697
p03997
u435084726
1572330453
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38384
57
a,b,h=map(int, input().split()) N = (a+b)*h/2 print(N)
Traceback (most recent call last): File "/tmp/tmpfn0mchf_/tmpbm3p3pxn.py", line 1, in <module> a,b,h=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s538426615
p03997
u895536055
1571512884
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a, b, h = map(int, input().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpjpp8vejm/tmp_bgufw7c.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s632942518
p03997
u895536055
1571512856
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, imput().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpvxnw59rg/tmp_653lkww.py", line 1, in <module> a, b, h = map(int, imput().split()) ^^^^^ NameError: name 'imput' is not defined. Did you mean: 'input'?