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
s253367613
p03997
u318661636
1601295470
Python
Python (3.8.2)
py
Runtime Error
22
9100
51
a,b,h = map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpqlzlk174/tmpqi4y7ui8.py", line 1, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s078946294
p03997
u318661636
1601295385
Python
Python (3.8.2)
py
Runtime Error
29
9088
51
a,b,h = map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmp195yzwv0/tmpxa0fwvgh.py", line 1, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s985092681
p03997
u521323621
1601168758
Python
Python (3.8.2)
py
Runtime Error
25
9088
71
a = int(input()) b = int(input()) c = int(input()) print((a + b)*h//2)
Traceback (most recent call last): File "/tmp/tmpcm9f6349/tmphzg57rra.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s953214614
p03997
u083184913
1600799512
Python
Python (3.8.2)
py
Runtime Error
20
8876
71
=int(input()) b=int(input()) h=int(input()) s=(a+b)*h/2 print(int(s))
File "/tmp/tmpu22ubzjf/tmpgjg3rup8.py", line 1 =int(input()) ^ SyntaxError: invalid syntax
s724742958
p03997
u381585104
1600071768
Python
Python (3.8.2)
py
Runtime Error
19
9032
69
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpmk6f1e7k/tmp7z9ylprm.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s510135134
p03997
u434630332
1599889389
Python
Python (3.8.2)
py
Runtime Error
20
9096
77
a, b, h = map(int, input().split()) answer = (a + b) * h // 2 print(answer)
Traceback (most recent call last): File "/tmp/tmp80kp1v1i/tmpn7iefo42.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s069865017
p03997
u434630332
1599889243
Python
Python (3.8.2)
py
Runtime Error
20
9132
76
a, b, h = map(int, input().split()) answer = (a + b) * h / 2 print(answer)
Traceback (most recent call last): File "/tmp/tmpst5e19rm/tmpoqayk2so.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s516510598
p03997
u666550725
1599879846
Python
PyPy3 (7.3.0)
py
Runtime Error
97
74808
59
a, b, h = map(int, input().split()) print((a + b) * h // 2)
Traceback (most recent call last): File "/tmp/tmpgk71xmm7/tmpcbp1lz3j.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s911989284
p03997
u692711472
1599782146
Python
Python (3.8.2)
py
Runtime Error
21
9088
73
(a,b,c) = (int(input()),int(input()),int(input())) s = (a+b)*h/2 print(s)
Traceback (most recent call last): File "/tmp/tmp_zg7_q9s/tmpcjonv9c7.py", line 1, in <module> (a,b,c) = (int(input()),int(input()),int(input())) ^^^^^^^ EOFError: EOF when reading a line
s695170755
p03997
u823885866
1599504352
Python
PyPy3 (7.3.0)
py
Runtime Error
87
74744
468
import sys import math import itertools import collections import heapq import re import numpy as np from functools import reduce rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rf = lambda: map(float, sys.stdin.readline().split()) rl = lambda: list(map(int, sys.stdin.readline().split())) inf = float('inf') mod = 10**9 + 7 print('test')
test
s810686727
p03997
u801274036
1599085015
Python
Python (3.8.2)
py
Runtime Error
23
8984
55
a = [int(input()) for i in range(5)] (a[0]+a[1])*a[2]/2
Traceback (most recent call last): File "/tmp/tmprcmx5qx0/tmpn82qqe73.py", line 1, in <module> a = [int(input()) for i in range(5)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmprcmx5qx0/tmpn82qqe73.py", line 1, in <listcomp> a = [int(input()) for i in range(5)] ^^^^^^^ EOFError: EOF when reading a line
s472800817
p03997
u347397127
1598835190
Python
Python (3.8.2)
py
Runtime Error
21
9048
48
a,b,c=map(int,input().split()) print((a+b)*c//2)
Traceback (most recent call last): File "/tmp/tmpeucn0pa7/tmpio64hjez.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s497621508
p03997
u896741788
1598657170
Python
Python (3.8.2)
py
Runtime Error
25
8992
52
print(eval('(i*i)*i//2'.replace('i','int(input()')))
Traceback (most recent call last): File "/tmp/tmp6qprx7y0/tmp_evzj2wh.py", line 1, in <module> print(eval('(i*i)*i//2'.replace('i','int(input()'))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1 (int(input()*int(input())*int(input()//2 ^ SyntaxError: '(' was never closed
s148089758
p03997
u896741788
1598656592
Python
Python (3.8.2)
py
Runtime Error
26
8960
46
a,b,c=eval('int(input())'*3) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpf1_rbpot/tmpfh0oq_th.py", line 1, in <module> a,b,c=eval('int(input())'*3) ^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1 int(input())int(input())int(input()) ^^^ SyntaxError: invalid syntax
s381848307
p03997
u642012866
1598631530
Python
Python (3.8.2)
py
Runtime Error
24
8900
49
print((int(input())+int(input()))*int(input()//2)
File "/tmp/tmp_u0wy_i0/tmp_50nclx3.py", line 1 print((int(input())+int(input()))*int(input()//2) ^ SyntaxError: '(' was never closed
s242497895
p03997
u779830746
1598408494
Python
Python (3.8.2)
py
Runtime Error
25
9020
107
# 入力 a, b, h = map(int, input().split()) # 処理 answer = (a + b) * h /2 # 出力 print(int(answer))
Traceback (most recent call last): File "/tmp/tmp4lgxp3bg/tmpda14futy.py", line 2, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s655158991
p03997
u779830746
1598407968
Python
Python (3.8.2)
py
Runtime Error
26
9072
102
# 入力 a, b, h = map(int, input().split()) # 処理 answer = (a + b) * h /2 # 出力 print(answer)
Traceback (most recent call last): File "/tmp/tmpni28v70o/tmphfscobk1.py", line 2, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s214643900
p03997
u808569469
1598405266
Python
Python (3.8.2)
py
Runtime Error
26
9092
60
a, b, h = map(int, input().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpvw77xr_y/tmpe2jnuugd.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s383886009
p03997
u434630332
1598398416
Python
Python (3.8.2)
py
Runtime Error
23
8864
68
a = input(int) b = input(int) h = input(int) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmpqgkcmkwd/tmpn7exmqcs.py", line 1, in <module> a = input(int) ^^^^^^^^^^ EOFError: EOF when reading a line
<class 'int'>
s342323028
p03997
u434630332
1598398360
Python
Python (3.8.2)
py
Runtime Error
22
9052
59
a, b, h = map(int, input().split()) print((a + b) * h / 2)
Traceback (most recent call last): File "/tmp/tmp84ff2cz9/tmp42hsf2q0.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s233036835
p03997
u434630332
1598398329
Python
Python (3.8.2)
py
Runtime Error
25
9104
76
a, b, h = map(int, input().split()) answer = (a + b) * h / 2 print(answer)
Traceback (most recent call last): File "/tmp/tmpe0xdg0yr/tmp763l6fwl.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s177178238
p03997
u546853743
1598313365
Python
Python (3.8.2)
py
Runtime Error
26
9016
61
a=int(input()) b=int(input()) c=int(input()) print((b+a)*h/2)
Traceback (most recent call last): File "/tmp/tmp77hnjkco/tmp6ok4n6jc.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s529911380
p03997
u546853743
1598312812
Python
Python (3.8.2)
py
Runtime Error
25
9028
41
a,b,h=int(input.split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmptlsh0ky_/tmpf5kalixo.py", line 1, in <module> a,b,h=int(input.split()) ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s196293663
p03997
u434630332
1598144765
Python
Python (3.8.2)
py
Runtime Error
25
9024
76
a, b, c = map(int, input().split()) answer = (a + b) * c / 2 print(answer)
Traceback (most recent call last): File "/tmp/tmprml8ji83/tmpvhffg2y_.py", line 1, in <module> a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s114340775
p03997
u814265211
1597626231
Python
Python (3.8.2)
py
Runtime Error
30
9116
66
a, b, h = [input() for _ in range(3)] print(int((a + b) * h / 2))
Traceback (most recent call last): File "/tmp/tmpgppoh139/tmpr1k2a284.py", line 1, in <module> a, b, h = [input() for _ in range(3)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpgppoh139/tmpr1k2a284.py", line 1, in <listcomp> a, b, h = [input() for _ in range(3)] ^^^^^^^ EOFError: EOF when reading a line
s013281981
p03997
u313043608
1597621382
Python
Python (3.8.2)
py
Runtime Error
19
9116
49
a,b,h=map(int,input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmp2juwup4x/tmpv4azx6jw.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s373137219
p03997
u313043608
1597621200
Python
Python (3.8.2)
py
Runtime Error
24
9036
48
a,b,h=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpg_mhf7tw/tmptretqg35.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s076056712
p03997
u313043608
1597621141
Python
Python (3.8.2)
py
Runtime Error
22
9024
45
a,b,h=map(int,input().split()) print((a+b)/h)
Traceback (most recent call last): File "/tmp/tmpm5gymlqm/tmpsxi3oj5d.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s423488634
p03997
u249987458
1597033404
Python
Python (3.8.2)
py
Runtime Error
23
8960
73
a = int(input()) b = int(input()) h = int(input()) print(in(((a+b)*h)/2))
File "/tmp/tmp9ehat05z/tmpgxed8mi0.py", line 4 print(in(((a+b)*h)/2)) ^^ SyntaxError: invalid syntax
s040047719
p03997
u629607744
1596911917
Python
Python (3.8.2)
py
Runtime Error
21
8840
69
a = int(input() b = int(input()) h = int(input()) print( (a+b)*h//2 )
File "/tmp/tmpga_izbcu/tmpfxsi5mib.py", line 1 a = int(input() ^ SyntaxError: '(' was never closed
s779145400
p03997
u552738814
1596833701
Python
Python (3.8.2)
py
Runtime Error
23
8880
115
list = [] for i in range(3): list.append(int(input())) area = (list[0]+list[1])*list[2]/2) print(int(area))
File "/tmp/tmp91nk89ah/tmpnmm7wyzv.py", line 6 area = (list[0]+list[1])*list[2]/2) ^ SyntaxError: unmatched ')'
s927576248
p03997
u455957070
1596805100
Python
Python (3.8.2)
py
Runtime Error
22
9044
94
a = int(input().split()) b = int(input().split()) h = int(input().split()) print(((a+b)*h)//2)
Traceback (most recent call last): File "/tmp/tmpaqiaz150/tmphktnytb0.py", line 1, in <module> a = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s594973946
p03997
u250662864
1596449803
Python
Python (3.8.2)
py
Runtime Error
25
9172
80
a = int(input()) b = int(input()) h = int(input()) area = 0.5(a+b)*h print(area)
/tmp/tmpa5603ny1/tmpijtuw7mo.py:4: SyntaxWarning: 'float' object is not callable; perhaps you missed a comma? area = 0.5(a+b)*h Traceback (most recent call last): File "/tmp/tmpa5603ny1/tmpijtuw7mo.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s645777947
p03997
u477696265
1596249576
Python
Python (3.8.2)
py
Runtime Error
26
9032
126
a=input() b=input() c=input() def method_name(): print=str((a+b)*c/2) return method_name(print) print = method_name()
Traceback (most recent call last): File "/tmp/tmp6hgu_gus/tmpqfjmn5vb.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s661577468
p03997
u477696265
1596245989
Python
Python (3.8.2)
py
Runtime Error
22
9032
72
a=int(raw_input()) b=int(raw_input()) h=int(raw_input()) print (a+b)*h/2
Traceback (most recent call last): File "/tmp/tmp8u4bedc7/tmpk9apwl9a.py", line 1, in <module> a=int(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s840446616
p03997
u477696265
1596245912
Python
Python (3.8.2)
py
Runtime Error
26
9088
61
a,b,c=(int(x) for x in input().split()) d=(a+b)*c/2 print(d)
Traceback (most recent call last): File "/tmp/tmpl4c07zs1/tmp71fant4k.py", line 1, in <module> a,b,c=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s100961777
p03997
u045793300
1595686644
Python
Python (3.8.2)
py
Runtime Error
26
8928
66
a, b, h = [int(input()) for _ in range(3)] print((a+b)*h / 2)
File "/tmp/tmp8o5n04ha/tmpsgzx788v.py", line 1 a, b, h = [int(input()) for _ in range(3)] IndentationError: unexpected indent
s040952656
p03997
u045793300
1595686359
Python
Python (3.8.2)
py
Runtime Error
20
8932
58
a, b, h = map(int(input().split()) print((a+b)*h / 2)
File "/tmp/tmpnjdut041/tmp1z2n1798.py", line 1 a, b, h = map(int(input().split()) IndentationError: unexpected indent
s406702516
p03997
u045793300
1595686303
Python
Python (3.8.2)
py
Runtime Error
19
8936
65
a, b, h = (int(input()) for i in range(3)) print((a+b)*h / 2)
File "/tmp/tmpj_znt9o5/tmprbylpvl2.py", line 1 a, b, h = (int(input()) for i in range(3)) IndentationError: unexpected indent
s929311442
p03997
u176068070
1595006099
Python
Python (3.8.2)
py
Runtime Error
20
9140
62
a=int(input()) b=int(input()) c=int(input()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpz_gs6tj9/tmpw1kj4oxo.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s830376365
p03997
u316603606
1594411486
Python
Python (3.8.2)
py
Runtime Error
24
8948
75
a = int (input ()) b = int (input ()) h = int (input ()/2) print ((a+b)*h)
Traceback (most recent call last): File "/tmp/tmpr_sud4z8/tmpeexov56u.py", line 1, in <module> a = int (input ()) ^^^^^^^^ EOFError: EOF when reading a line
s865843245
p03997
u786020649
1594408883
Python
Python (3.8.2)
py
Runtime Error
22
9120
184
import sys def main(a,b,h): reuturn (a+b)*h//2 a =int(sys.stdin.readline().strip()) b =int(sys.stdin.readline().strip()) h =int(sys.stdin.readline().strip()) print(main(a,b,h))
Traceback (most recent call last): File "/tmp/tmplvjxnhbs/tmpvjbm1ag3.py", line 6, in <module> a =int(sys.stdin.readline().strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s968064726
p03997
u786020649
1594408842
Python
Python (3.8.2)
py
Runtime Error
29
8916
183
import sys def main(a,b,h) reuturn (a+b)*h//2 a =int(sys.stdin.readline().strip()) b =int(sys.stdin.readline().strip()) h =int(sys.stdin.readline().strip()) print(main(a,b,h))
File "/tmp/tmpgyh_brvg/tmpptpjs7w8.py", line 3 def main(a,b,h) ^ SyntaxError: expected ':'
s956704925
p03997
u786020649
1594408793
Python
Python (3.8.2)
py
Runtime Error
21
8904
180
import sys def main(a,b,h) reuturn (a+b)*h//2 a =int(sys.stdin.readlin().strip()) b =int(sys.stdin.readlin().strip()) h =int(sys.stdin.readlin().strip()) print(main(a,b,h))
File "/tmp/tmpk8a8i114/tmp0lq8a5he.py", line 3 def main(a,b,h) ^ SyntaxError: expected ':'
s734494107
p03997
u052838115
1594343987
Python
Python (3.8.2)
py
Runtime Error
24
9144
47
a,b,h=map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpyoc8dlgb/tmpqtymsqcg.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s443328512
p03997
u052838115
1594343960
Python
Python (3.8.2)
py
Runtime Error
22
9156
52
a,b,h=map(int,input().split()) print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmpkyh6sx0s/tmpe88o8c65.py", line 1, in <module> a,b,h=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s698907992
p03997
u797641184
1593367961
Python
Python (3.8.2)
py
Runtime Error
22
9004
11
print()
File "/tmp/tmprlxul4vo/tmp_qssdgu4.py", line 1 print() ^ SyntaxError: invalid character '(' (U+FF08)
s190182072
p03997
u209275335
1593151295
Python
Python (3.8.2)
py
Runtime Error
28
9032
49
a,b,c = map(int,input().split()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmppr90uo2p/tmp0oz0relx.py", line 1, in <module> a,b,c = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s022197860
p03997
u325119213
1593014991
Python
Python (3.8.2)
py
Runtime Error
21
9028
113
def actual(a, b, h): return int((a + b) * h / 2) a, b, h = map(int, input().split()) print(actual(a, b, h))
Traceback (most recent call last): File "/tmp/tmpyc5qcgs_/tmp8dla4l7p.py", line 4, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s839190706
p03997
u325119213
1593014963
Python
Python (3.8.2)
py
Runtime Error
25
8964
104
def actual(a, b, h): return int((a + b) * h / 2) a, b, h = map(int, input()) print(actual(a, b, h))
Traceback (most recent call last): File "/tmp/tmppfi2t6oa/tmp9xdxf0g0.py", line 4, in <module> a, b, h = map(int, input()) ^^^^^^^ EOFError: EOF when reading a line
s875232295
p03997
u304599973
1592682374
Python
Python (3.8.2)
py
Runtime Error
31
9080
48
a,b,h=[int(i) for i in input()] print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpcg5akllg/tmpwce5qaij.py", line 1, in <module> a,b,h=[int(i) for i in input()] ^^^^^^^ EOFError: EOF when reading a line
s307963693
p03997
u863397945
1592159676
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a=input() b=input() h=input() print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpstjwlmbv/tmpy_i1vhxn.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s130646518
p03997
u435721973
1590992044
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
print(int((int(input()) + int(input)) * int(input()) / 2))
Traceback (most recent call last): File "/tmp/tmppjhs4oug/tmpvzy01rmi.py", line 1, in <module> print(int((int(input()) + int(input)) * int(input()) / 2)) ^^^^^^^ EOFError: EOF when reading a line
s423299965
p03997
u888100977
1590838833
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/tmp6eip7bni/tmpm5sw_yhj.py", line 1, in <module> a - int(input()) ^ NameError: name 'a' is not defined
s467657679
p03997
u497952650
1590473938
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/tmphl3t9j2b/tmp3e6oh9my.py", line 1, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s172089878
p03997
u497952650
1590473923
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h = map(int,input().split())] print((a+b)*h//2)
File "/tmp/tmp8a4t7ih7/tmpepqg79jh.py", line 1 a,b,h = map(int,input().split())] ^ SyntaxError: unmatched ']'
s333565539
p03997
u735975757
1590454044
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a = input() b = input() h = input() area = (a + b)*h/2 print(area)
Traceback (most recent call last): File "/tmp/tmpn_iw_osp/tmpktkkl9h3.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s388015477
p03997
u885627844
1590426509
Python
Python (3.4.3)
py
Runtime Error
17
2940
14
(a + b)x h / 2
File "/tmp/tmpaqts8pk8/tmph7bw9rf5.py", line 1 (a + b)x h / 2 ^ SyntaxError: invalid syntax
s238425521
p03997
u929227298
1590112888
Python
Python (3.4.3)
py
Runtime Error
20
3316
80
a = int(input()) b = int(input()) c = int(input()) area = (a+b)*h%2 print(area)
Traceback (most recent call last): File "/tmp/tmpnsbc5w09/tmppdlqy557.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s952368548
p03997
u929227298
1590111846
Python
Python (3.4.3)
py
Runtime Error
17
2940
9
(a+b)*h%2
Traceback (most recent call last): File "/tmp/tmp7pzqb3xo/tmpyjy3c4fh.py", line 1, in <module> (a+b)*h%2 ^ NameError: name 'a' is not defined
s179797833
p03997
u941047297
1590021686
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
a, b, h = list(map(int, input().split())) print((a + b) * h // 2)
Traceback (most recent call last): File "/tmp/tmp2xhvcdo8/tmp0bs7jvhf.py", line 1, in <module> a, b, h = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s769949035
p03997
u456394640
1589750522
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a = input() b = input() h = input() sum = a + b print(sum * h /2)
Traceback (most recent call last): File "/tmp/tmpmkp4c21e/tmpqa7i_gv6.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s466102961
p03997
u456394640
1589749769
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a = input() b = input() h = input() sumjk = a + b print (sumjk * h / 2)
Traceback (most recent call last): File "/tmp/tmpe60zuk9s/tmpgerip9e1.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s094028465
p03997
u456394640
1589749645
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
sumjk = a + b print ( sumjk * h / 2)
Traceback (most recent call last): File "/tmp/tmpz8hq81m0/tmp9wai622e.py", line 1, in <module> sumjk = a + b ^ NameError: name 'a' is not defined
s435636727
p03997
u456394640
1589749504
Python
Python (3.4.3)
py
Runtime Error
17
2940
19
print (a + b) *h /2
Traceback (most recent call last): File "/tmp/tmph77tnk_8/tmpzbupb6cx.py", line 1, in <module> print (a + b) *h /2 ^ NameError: name 'a' is not defined
s426322599
p03997
u020604402
1589615761
Python
Python (3.4.3)
py
Runtime Error
17
3064
826
H, W , N = map(int,input().split()) from bisect import bisect_left from bisect import bisect_right matrix = [] for _ in range(N): x,y = map(int,input().split()) x -= 1 y -= 1 matrix.append([x,y]) matrix.sort() ans = [0 for _ in range(10)] cand = {} for l in matrix: for x_r in [-2, -1 , 0]: for y_r in [-2, -1 , 0]: nowx = l[0] + x_r nowy = l[1] + y_r if nowx < 0 or nowy < 0 or nowx + 2>= H or nowy+ 2 >= W: continue #ここで起点(左上)nowx, nowy として  9マスに着目する name = str(nowx) + ' ' +str(nowy) if name in cand : cand[name] += 1 else: cand[name] = 1 tmp = ((H - 2) * (W - 2)) for x in cand.values(): ans[x] += 1 tmp -= 1 ans[0] = tmp for x in ans: print(x)
Traceback (most recent call last): File "/tmp/tmpumrjzfgc/tmpw7w9smvo.py", line 1, in <module> H, W , N = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s197837807
p03997
u496821919
1589561041
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
# -*- coding: utf-8 -*- """ Created on Fri May 15 12:41:57 2020 @author: shinba """ a,b,h = map(int,input().split()) print(int((a+b)*h/2))
Traceback (most recent call last): File "/tmp/tmp4dzg89bc/tmpz82x01a1.py", line 8, in <module> a,b,h = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s091220696
p03997
u493130708
1589417664
Python
PyPy3 (2.4.0)
py
Runtime Error
275
64364
2198
# -*- coding: utf-8 -*- ############# # Libraries # ############# import sys input = sys.stdin.readline import math from collections import deque from fractions import gcd from functools import lru_cache ############# # Constants # ############# MOD = 10**9+7 INF = float('inf') ############# # Functions # ############# ######INPUT###### def inputI(): return int(input().strip()) def inputS(): return input().strip() def inputIL(): return list(map(int,input().split())) def inputSL(): return list(map(str,input().split())) def inputILs(n): return list(int(input()) for _ in range(n)) def inputSLs(n): return list(input().strip() for _ in range(n)) def inputILL(n): return [list(map(int, input().split())) for _ in range(n)] def inputSLL(n): return [list(map(str, input().split())) for _ in range(n)] #####Inverse##### def inv(n): return pow(n, MOD-2, MOD) ######Combination###### kaijo_memo = [] def kaijo(n): if(len(kaijo_memo) > n): return kaijo_memo[n] if(len(kaijo_memo) == 0): kaijo_memo.append(1) while(len(kaijo_memo) <= n): kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD) return kaijo_memo[n] gyaku_kaijo_memo = [] def gyaku_kaijo(n): if(len(gyaku_kaijo_memo) > n): return gyaku_kaijo_memo[n] if(len(gyaku_kaijo_memo) == 0): gyaku_kaijo_memo.append(1) while(len(gyaku_kaijo_memo) <= n): gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD) return gyaku_kaijo_memo[n] def nCr(n,r): if(n == r): return 1 if(n < r or r < 0): return 0 ret = 1 ret = ret * kaijo(n) % MOD ret = ret * gyaku_kaijo(r) % MOD ret = ret * gyaku_kaijo(n-r) % MOD return ret ######Factorization###### def factorization(n): arr = [] temp = n for i in range(2, int(-(-n**0.5//1))+1): if temp%i==0: cnt=0 while temp%i==0: cnt+=1 temp //= i arr.append([i, cnt]) if temp!=1: arr.append([temp, 1]) if arr==[]: arr.append([n, 1]) return arr #####LCM##### def lcm(a, b): return a * b // gcd (a, b) ############# # Main Code # ############# a,b,h = inputILs(3) print(((a+b)*H)//2)
Traceback (most recent call last): File "/tmp/tmpdjl8q5zs/tmpzvetlzn2.py", line 12, in <module> from fractions import gcd ImportError: cannot import name 'gcd' from 'fractions' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/fractions.py)
s354680637
p03997
u691018832
1588899715
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
print((int(readline()) + int(readline())) * int(readline()) // 2)
Traceback (most recent call last): File "/tmp/tmpkv4szp0i/tmp0ftll0hn.py", line 1, in <module> print((int(readline()) + int(readline())) * int(readline()) // 2) ^^^^^^^^ NameError: name 'readline' is not defined
s814927225
p03997
u158570493
1588897841
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a = input() b = input() h = input() print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpacgaw96e/tmp1gsclejb.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s386488275
p03997
u158570493
1588897469
Python
Python (3.4.3)
py
Runtime Error
17
2940
9
(a+b)*h/2
Traceback (most recent call last): File "/tmp/tmpel9ul7n1/tmp2io7ootj.py", line 1, in <module> (a+b)*h/2 ^ NameError: name 'a' is not defined
s255182830
p03997
u158570493
1588897145
Python
Python (3.4.3)
py
Runtime Error
17
2940
16
return (a+b)*h/2
File "/tmp/tmp2qr7bidk/tmpznod939i.py", line 1 return (a+b)*h/2 ^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s237930179
p03997
u308918401
1588712483
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a=int(input()) b=int(input()) h=int(inupt()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmp5tz_qe4w/tmpphjajbm1.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s999455073
p03997
u829416877
1588663754
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a=input() b=input() h=input() print((int(a)+int(b)*int(h)//2)
File "/tmp/tmpyow0krxh/tmps9bsjwt1.py", line 4 print((int(a)+int(b)*int(h)//2) ^ SyntaxError: '(' was never closed
s577989288
p03997
u829416877
1588663618
Python
Python (3.4.3)
py
Runtime Error
18
2940
52
a = input() b = input() h = input() print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpny5c4hhn/tmp3nu65ld2.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s521034973
p03997
u633928488
1588643481
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a=int(input()) b=int(input()) c=int(input()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpwicth8xo/tmp8az7v_px.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s565008629
p03997
u633928488
1588643402
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a=int(input()) b=int(input()) c=int(input()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpry4_uyee/tmpo6gvdt70.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s170893917
p03997
u129325056
1588642266
Python
PyPy3 (2.4.0)
py
Runtime Error
185
38512
73
a, b, h = [int(input()) for i in range(4)] print(round((a + b) * h / 2))
Traceback (most recent call last): File "/tmp/tmpc37fcbtt/tmpvqukx2eq.py", line 1, in <module> a, b, h = [int(input()) for i in range(4)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpc37fcbtt/tmpvqukx2eq.py", line 1, in <listcomp> a, b, h = [int(input()) for i in range(4)] ^^^^^^^ EOFError: EOF when reading a line
s743677771
p03997
u193565131
1588550313
Python
Python (3.4.3)
py
Runtime Error
17
2940
139
lines = [] while True: s =input() if s: lines.append(s) else: break; area=(int(lines[0])+int(lines[1]))/2*int(lines[2]) print(area)
Traceback (most recent call last): File "/tmp/tmpvdeuad3l/tmpoo28ph2u.py", line 3, in <module> s =input() ^^^^^^^ EOFError: EOF when reading a line
s395922738
p03997
u029000441
1588185086
Python
Python (3.4.3)
py
Runtime Error
21
3316
654
import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, heappop, heappush from math import floor, ceil from operator import itemgetter def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def LI2(): return [int(input()) for i in range(n)] def MXI(): return [[LI()]for i in range(n)] inf = 10**17 mod = 10**9 + 7 a,b,h=MI() ans=(a+b)*h//2 print(ans)
Traceback (most recent call last): File "/tmp/tmp3kddnavi/tmp_9q9am87.py", line 20, in <module> a,b,h=MI() ^^^^^ ValueError: not enough values to unpack (expected 3, got 0)
s123294144
p03997
u115877451
1587762570
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a,b,c=[int(input()) for i range(3)] print(((a+b)*c)/2)
File "/tmp/tmpgn4o8tau/tmp75f5u95d.py", line 1 a,b,c=[int(input()) for i range(3)] ^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s180048493
p03997
u437215432
1587670614
Python
Python (3.4.3)
py
Runtime Error
18
2940
53
a, b, h = map(int, input().split()) print((a+b)*h//2)
Traceback (most recent call last): File "/tmp/tmpuarnpey9/tmp5t1xt4h6.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s566794250
p03997
u437215432
1587670523
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/tmpnqlb4v90/tmplguy9xlf.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s438036280
p03997
u437215432
1587670469
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/tmpws1y1lh8/tmpi11ypc7w.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s618363341
p03997
u437215432
1587670333
Python
Python (3.4.3)
py
Runtime Error
17
3060
60
a, b, h = map(int, input().split()) print((a + b) * h // 2)
Traceback (most recent call last): File "/tmp/tmp_7aojijy/tmpaa6oad50.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s535877818
p03997
u235066013
1587612053
Python
Python (3.4.3)
py
Runtime Error
18
2940
9
(a+b)*h/2
Traceback (most recent call last): File "/tmp/tmp2dumwisn/tmpzg4q_3e7.py", line 1, in <module> (a+b)*h/2 ^ NameError: name 'a' is not defined
s823154989
p03997
u141419468
1587502788
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a = int(input()) b = int(input()) h = int(input()) print(2(a+b)*h)
/tmp/tmptswgwfcn/tmpl0krmk7m.py:5: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma? print(2(a+b)*h) Traceback (most recent call last): File "/tmp/tmptswgwfcn/tmpl0krmk7m.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s063379762
p03997
u507116804
1587418176
Python
Python (3.4.3)
py
Runtime Error
18
2940
79
a = int(input()) b = int(input()) h = int(input()) print(int((a+b*h/2))
File "/tmp/tmpzo9g4cew/tmp8mll_jm5.py", line 5 print(int((a+b*h/2)) ^ SyntaxError: '(' was never closed
s426340294
p03997
u982591663
1586574862
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
A, B, H = map(int, input().split()) print((A+B)*H//2)
Traceback (most recent call last): File "/tmp/tmpj9vkiv38/tmpc8kajogl.py", line 1, in <module> A, B, H = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s466077997
p03997
u271853076
1586396140
Python
Python (3.4.3)
py
Runtime Error
16
2940
68
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h/2)
Traceback (most recent call last): File "/tmp/tmpmmusxmva/tmp5iysu7of.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s923236952
p03997
u271853076
1586395981
Python
Python (3.4.3)
py
Runtime Error
17
2940
26
c = a+b print(int(c*h/2))
Traceback (most recent call last): File "/tmp/tmpoxcqwk56/tmp5wzw7h3j.py", line 1, in <module> c = a+b ^ NameError: name 'a' is not defined
s006419145
p03997
u271853076
1586395870
Python
Python (3.4.3)
py
Runtime Error
17
2940
20
c = a+b print(c*h/2)
Traceback (most recent call last): File "/tmp/tmpdxrjd8oc/tmpi4nql_3f.py", line 1, in <module> c = a+b ^ NameError: name 'a' is not defined
s353567813
p03997
u271853076
1586395809
Python
Python (3.4.3)
py
Runtime Error
17
2940
20
c = a+b print(c*h/2)
Traceback (most recent call last): File "/tmp/tmprr0cghz5/tmp290wlrvj.py", line 1, in <module> c = a+b ^ NameError: name 'a' is not defined
s207086473
p03997
u870841038
1586382329
Python
Python (3.4.3)
py
Runtime Error
17
3064
485
h = list(input() for i in range(3)) hand = {'a':h[0], 'b':h[1], 'c':h[2]} # 各手札 count = {'a':0, 'b':0, 'c':0} # 捨てた枚数 def who_is_the_winner(ch): if ch == 'a': winner = 'A' elif ch == 'b': winner = 'B' else: winner = 'C' return winner ch = hand['a'][0] while True: if count[ch] == len(hand[ch]): winner = who_is_the_winner(ch) print(winner) break count[ch] += 1 ch = hand[ch][count[ch]-1]
Traceback (most recent call last): File "/tmp/tmp16790048/tmp8svkqncu.py", line 1, in <module> h = list(input() for i in range(3)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp16790048/tmp8svkqncu.py", line 1, in <genexpr> h = list(input() for i in range(3)) ^^^^^^^ EOFError: EOF when reading a line
s181512527
p03997
u870841038
1586202409
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a = [int(input()) for i in range(4)] ans = ((a[0]+a[1]) * a[2]) / 2 print(str(ans))
Traceback (most recent call last): File "/tmp/tmp2amzp2_f/tmpegg9bsu1.py", line 1, in <module> a = [int(input()) for i in range(4)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp2amzp2_f/tmpegg9bsu1.py", line 1, in <listcomp> a = [int(input()) for i in range(4)] ^^^^^^^ EOFError: EOF when reading a line
s734553350
p03997
u714294996
1586137038
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38512
74
a = input() b = input() c = input() d = 0 d = a + b d = d * c / 2 print(d)
Traceback (most recent call last): File "/tmp/tmpli_yhq_k/tmpimj3ramv.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s914622923
p03997
u714294996
1586136933
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38384
66
a = input() b = input() c = input() d = 0 d = a + b d = d * c / 2
Traceback (most recent call last): File "/tmp/tmp2rcxr5fo/tmppuf0tb6o.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s672243530
p03997
u779728630
1585969331
Python
Python (3.4.3)
py
Runtime Error
17
3064
58
a, b, h = map(int, input().split()) print( (a+b) * h // 2)
Traceback (most recent call last): File "/tmp/tmphsohnhep/tmpq55yjqt4.py", line 1, in <module> a, b, h = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s893796199
p03997
u852790844
1585951295
Python
PyPy3 (2.4.0)
py
Runtime Error
186
38320
79
a = int(input()) b = int(input()) h = int(input()) ans = (a+b)*h//2 input(ans)
Traceback (most recent call last): File "/tmp/tmpx83tra17/tmptstvqx23.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s287239186
p03997
u787449825
1585895530
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/tmpbegms_tz/tmpiy4ogk5t.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line