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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s236699205 | p02258 | u894381890 | 1442206486 | Python | Python | py | Runtime Error | 0 | 0 | 263 | import sys
x = []
max = -10**9
for line in sys.stdin.readlines()
x.append(line.strip())
length = int(x[0])
x.remove(x[0])
for i in range(0, length):
for j in range(i + 1, length):
sa = int(x[j]) - int(x[i])
if max < sa:
max = sa
print max | File "/tmp/tmpw5px6nxg/tmpabq_klkx.py", line 7
for line in sys.stdin.readlines()
^
SyntaxError: expected ':'
| |
s447844701 | p02258 | u386372280 | 1442207007 | Python | Python | py | Runtime Error | 0 | 0 | 262 | import sys
lines = sys.stdin.readlines()
n = lines[0]
lst = lines[1:]
i = 0
for ri in lst:
if i is 0:
maxpro = lst[1] - lst[0]
for rj in lst[i+1:]:
sub = rj - ri
if maxpro < sub:
maxpro = sub
i += 1
print maxpro | File "/tmp/tmp466den98/tmpo3vyynvb.py", line 17
print maxpro
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s591591033 | p02258 | u197445199 | 1442207010 | Python | Python | py | Runtime Error | 0 | 0 | 263 | import sys
my_list = []
max_list = []
len_line = int(sys.stdin.readline().strip())
for item in sys.stdin.readlines()[:-1]:
my_list.append(int(item.strip()))
for i in range(1, len_line):
max_list.append(my_list[i] - min(my_list[:i]))
print max(max_list) | File "/tmp/tmpy4ewz8hm/tmp4_l35l05.py", line 12
print max(max_list)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s668813270 | p02258 | u197445199 | 1442207246 | Python | Python | py | Runtime Error | 0 | 0 | 258 | import sys
my_list = []
max_list = []
len_line = int(sys.stdin.readline().strip())
for item in sys.stdin.read()[:-1]:
my_list.append(int(item.strip()))
for i in range(1, len_line):
max_list.append(my_list[i] - min(my_list[:i]))
print max(max_list) | File "/tmp/tmp2klz1a2w/tmp31l_ye__.py", line 12
print max(max_list)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s199167246 | p02258 | u632424921 | 1442207586 | Python | Python | py | Runtime Error | 0 | 0 | 263 | num = raw_input()
num_list = []
for i in range(int(num)):
a = raw_input()
num_list.append(int(a))
minv = num_list[0]
for i in range(1, len(num_list)):
maxv = max(maxv, num_list[i] - minv)
minv = min(minv, num_list[i])
print maxv | File "/tmp/tmpur8k0we6/tmpxrpow2xs.py", line 13
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s388735668 | p02258 | u894381890 | 1442207738 | Python | Python | py | Runtime Error | 0 | 0 | 225 | import sys
x = []
for line in sys.stdin.readlines():
x.append(line.strip())
max = -(10**9)
min = x[1]
for i in range(2, x[0]):
sa = x[i] - min
if max < sa:
max = sa
if min > x[i]:
min = x[i]
print max | File "/tmp/tmpj71zwca9/tmp84fdb4k3.py", line 20
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s036786754 | p02258 | u894381890 | 1442208001 | Python | Python | py | Runtime Error | 0 | 0 | 252 | import sys
x = []
for line in sys.stdin.readlines():
x.append(line.strip())
max = -(10**9)
min = int(x[1])
for i in range(2, int(x[0]+1)):
sa = int(x[i]) - min
if max < sa:
max = sa
if min > int(x[i]):
min = int(x[i])
print max | File "/tmp/tmpwf82kt1w/tmpu8_sl4_a.py", line 20
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s135355881 | p02258 | u197445199 | 1442208348 | Python | Python | py | Runtime Error | 0 | 0 | 280 | num = raw_input()
for i in range(int(num)):
a = raw_input()
num_list.append(int(a))
min_ans = num_list[0]
max_ans = float("-inf")
for item in num_list[1:]:
if i - min_ans > max_ans:
max_ans = i - min_ans
if i < min_ans:
min_ans = i
print max_ans | File "/tmp/tmpjot4o0zb/tmp4zpef52y.py", line 15
print max_ans
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s332820620 | p02258 | u253463900 | 1442209952 | Python | Python3 | py | Runtime Error | 20 | 7804 | 461 | n = int(input())
num = n - 1
price = []
date = 0
max_pro = -999999999
while(n>0):
x = int(input())
dataset = [date,x]
price.append(dataset)
n -= 1
date += 1
price.sort(key=lambda price: price[1])
for i in range(0,num):
j = num
while(j > i):
if(price[i][0]<price[j][0]):
pro = price[j][1] - price[i][1]
break
j -= 1
if (max_pro < pro):
max_pro = pro
print ("{0}".format(max_pro)) | Traceback (most recent call last):
File "/tmp/tmpb7vmhdtv/tmpx__ds_y9.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s170695077 | p02258 | u313994256 | 1442212123 | Python | Python | py | Runtime Error | 0 | 0 | 373 | import sys
lines = sys.stdin.readlines()
n = lines[0]
lst = map(lambda x:int(x), lines[1:])
c = 0
while True:
if len(lst) ==0:
break
i = lst.index(max(lst))
sub_lst = lst[:i]
if len(sub_lst) ==0 and c == 0:
pass
elif len(sub_lst) -pre
else:
maxpro = max(lst) - min(sub_lst)
pre = lst[i]
lst = lst[i1:]
c+= 1
print maxpro | File "/tmp/tmprcqt87mm/tmpm9vsg_cv.py", line 15
elif len(sub_lst) -pre
^
SyntaxError: expected ':'
| |
s076674770 | p02258 | u313994256 | 1442212263 | Python | Python | py | Runtime Error | 0 | 0 | 373 | import sys
lines = sys.stdin.readlines()
n = lines[0]
lst = map(lambda x:int(x), lines[1:])
c = 0
while True:
if len(lst) ==0:
break
i = lst.index(max(lst))
sub_lst = lst[:i]
if len(sub_lst) ==0 and c == 0:
pass
elif len(sub_lst) -pre
else:
maxpro = max(lst) - min(sub_lst)
pre = lst[i]
lst = lst[i1:]
c+= 1
print maxpro | File "/tmp/tmp8tgi_s_j/tmp012nq77i.py", line 15
elif len(sub_lst) -pre
^
SyntaxError: expected ':'
| |
s543625136 | p02258 | u313994256 | 1442212523 | Python | Python | py | Runtime Error | 0 | 0 | 374 | import sys
lines = sys.stdin.readlines()
n = lines[0]
lst = map(lambda x:int(x), lines[1:])
c = 0
while True:
if len(lst) ==0:
break
i = lst.index(max(lst))
sub_lst = lst[:i]
if len(sub_lst) ==0 and c == 0:
pass
elif len(sub_lst) -pre:
else:
maxpro = max(lst) - min(sub_lst)
pre = lst[i]
lst = lst[i1:]
c+= 1
print maxpro | File "/tmp/tmpsg67bbp3/tmplzl53w12.py", line 16
else:
^
IndentationError: expected an indented block after 'elif' statement on line 15
| |
s536473979 | p02258 | u938745275 | 1447318520 | Python | Python | py | Runtime Error | 10 | 6236 | 289 | n = int(raw_input())
num_list = [int(raw_input()) for i in xrange(n)]
#print num_list
ans = 1 - pow(10, 9)
chk = num_list[0]
for i in range(1, n):
if num_list[i] >= chk:
continue
max_num = max(num_list[i+1:])
tmp = max_num - num_list[i]
if tmp > ans:
ans = tmp
print ans | File "/tmp/tmpuy6smbva/tmpft8y1_hb.py", line 16
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s783241453 | p02258 | u963402991 | 1447737266 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | N = int(input())
R = [int(input()) for i in range(N)]
maxv = R[1] - R[0]
minv = R[0]
for i in n:
maxv = max(maxv,i-minv)
minv = min(minv,i)
print (maxv) | Traceback (most recent call last):
File "/tmp/tmptuaak70u/tmp6kp0xrga.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s084937921 | p02258 | u966364923 | 1450161178 | Python | Python3 | py | Runtime Error | 20 | 7760 | 327 | N = int(input())
A = [int(input()) for i in range(N)]
max_v = A[1] - A[0]
l = 0
r = 1
while r + 1 < N:
if A[l] > A[r]:
l = r
elif A[r] > A[r + 1]:
max_v = max(max_v, A[r] - A[l])
if A[l] > A[r + 1]:
l = r + 1
r = l
r += 1
max_v = max(max_v, A[r] - A[l])
print(max_v) | Traceback (most recent call last):
File "/tmp/tmpc_ua8nw1/tmpba5urzn2.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s679109368 | p02258 | u639594975 | 1451718864 | Python | Python | py | Runtime Error | 0 | 0 | 57 | N = raw_input()
while line = sys.stdin.readlines():
| File "/tmp/tmpak0trm5p/tmp7tx9b0fj.py", line 3
while line = sys.stdin.readlines():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s507958960 | p02258 | u639594975 | 1451719005 | Python | Python | py | Runtime Error | 0 | 0 | 52 | N = raw_input()
while line = sys.stdin.readlines(): | File "/tmp/tmpwwmsplfh/tmp1nld3ja8.py", line 3
while line = sys.stdin.readlines():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s857499936 | p02258 | u970436839 | 1452047771 | Python | Python | py | Runtime Error | 0 | 0 | 159 | n = input()
for i in range(n):
R[i] = input()
max = 0
for i in range(n):
for j in range(i):
d = R[i] - R[j]
if max < d:
max = d
print max | File "/tmp/tmpx_ky1vga/tmpq0asplwi.py", line 14
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s569067348 | p02258 | u069446126 | 1452048938 | Python | Python | py | Runtime Error | 0 | 0 | 138 | n = raw_input()
max = 0
min = 0
for x in range(n):
x = raw_input()
if x > max:
max = x
if x < min:
min = x
print max-min
| File "/tmp/tmpgmb3cjhr/tmp7e2rv5j0.py", line 11
print max-min
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s495622222 | p02258 | u078762447 | 1452049311 | Python | Python | py | Runtime Error | 0 | 0 | 159 | n = raw_input()
x = 0
y = 0
a = raw_input()
for 1 in n-1:
c = raw_imput()
if a < c:
a = c
else:
y = a - c
if y > x:
x = y
print x | File "/tmp/tmpad3mh453/tmpn7yw2x3j.py", line 5
for 1 in n-1:
^
SyntaxError: cannot assign to literal
| |
s097123948 | p02258 | u970436839 | 1452049365 | Python | Python | py | Runtime Error | 0 | 0 | 125 | n = input()
maxi = 0
mini = 0
for i in range(n):
tmp = input n
maxi = max(maxi, tmp)
mini = min(mini, tmp)
print maxi | File "/tmp/tmp6gl1_by8/tmpko3z5pld.py", line 6
tmp = input n
^
SyntaxError: invalid syntax
| |
s698709279 | p02258 | u069446126 | 1452074485 | Python | Python | py | Runtime Error | 0 | 0 | 557 | word = raw_input()
for i in range(len(word)):
if word[i] == '\n':
n = word[:i - 1]
word = word[i:]
break
n = int(n)
max = 0
min = 0
num = range(n)
for i in range(n):
for j in range(7):
if word[j] == '\n':
num[i] = word[:j - 1]
num[i] = int(num[i])
word = word[j:]
break
dif = range(n - 1)
min = 0
for i in range(n):
for j in range(i):
if num[j] < min:
min = num[j]
dif[i] = num[i] - min
if dif[i] > max:
max = dif[i]
print max | File "/tmp/tmprh5eohht/tmprbk_y_jc.py", line 30
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s592141315 | p02258 | u069446126 | 1452075900 | Python | Python | py | Runtime Error | 0 | 0 | 281 | n = input()
list = []
for i in range(n):
list.append(input())
min = list[0]
max = list[0]
dif = []
for i in range(n):
for j in range(i - 1):
if list[j] < min:
min = list[j]
dif[i] = list[i] - min
if dif[i] > max:
max = dif[i]
print max | File "/tmp/tmpzfqzv9d_/tmpeikl3xio.py", line 17
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s834494220 | p02258 | u069446126 | 1452076003 | Python | Python3 | py | Runtime Error | 0 | 0 | 281 | n = input()
list = []
for i in range(n):
list.append(input())
min = list[0]
max = list[0]
dif = []
for i in range(n):
for j in range(i - 1):
if list[j] < min:
min = list[j]
dif[i] = list[i] - min
if dif[i] > max:
max = dif[i]
print max | File "/tmp/tmphd87v6ml/tmpctj4wv30.py", line 17
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s837479026 | p02258 | u069446126 | 1452076318 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | n = input()
list = []
for i in range(n):
list.append(input())
min = list[0]
max = list[0]
dif = []
for i in range(n):
for j in range(i - 1):
if list[j] < min:
min = list[j]
dif.append(list[i] - min)
if dif[i] > max:
max = dif[i]
print max | File "/tmp/tmpb4_etdgv/tmptjzuf0k1.py", line 17
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s881481946 | p02258 | u069446126 | 1452076419 | Python | Python | py | Runtime Error | 0 | 0 | 281 | n = input()
list = []
for i in range(n):
list.append(input())
min = list[0]
max = list[0]
dif = []
for i in range(n):
for j in range(i - 1):
if list[j] < min:
min = list[j]
dif[i] = list[i] - min
if dif[i] > max:
max = dif[i]
print max | File "/tmp/tmp1lztj12p/tmpcist5e_g.py", line 17
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s749031180 | p02258 | u613805578 | 1452078807 | Python | Python | py | Runtime Error | 0 | 0 | 182 | n = input()
for i in range(0, n-1)
R[i] = input()
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1)
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmp9lm7ctnx/tmp1c8s9uv3.py", line 2
for i in range(0, n-1)
^
SyntaxError: expected ':'
| |
s253933275 | p02258 | u613805578 | 1452078878 | Python | Python | py | Runtime Error | 0 | 0 | 186 | n = input()
for i in range(0, n-1):
R[i] = input()
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmp6cvrkvm8/tmp4iiep7_a.py", line 9
print maxv - minv
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s836777458 | p02258 | u613805578 | 1452078903 | Python | Python | py | Runtime Error | 0 | 0 | 186 | n = input()
for i in range(0, n-1):
R[i] = input()
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmp5ewrxreu/tmpu0sxwc91.py", line 9
print maxv - minv
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s979861445 | p02258 | u613805578 | 1452079072 | Python | Python | py | Runtime Error | 0 | 0 | 195 | n = input()
for i in range(0, n-1):
R = raw_input().split()
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpbz3t7jry/tmpjnaq4rlo.py", line 9
print maxv - minv
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s489682769 | p02258 | u613805578 | 1452079092 | Python | Python | py | Runtime Error | 0 | 0 | 198 | n = input()
for i in range(0, n-1):
R[i] = raw_input().split()
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmp2_kqo9dm/tmp_65tjo4x.py", line 9
print maxv - minv
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s897516555 | p02258 | u613805578 | 1452079131 | Python | Python | py | Runtime Error | 0 | 0 | 205 | n = input()
for i in range(0, n-1):
R = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpb4c1rkmr/tmpzo_v9g6k.py", line 9
print maxv - minv
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s251573777 | p02258 | u613805578 | 1452079181 | Python | Python | py | Runtime Error | 0 | 0 | 251 | n = input()
if n>= 2 and n <= 200000
for i in range(0, n-1):
R = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpwpi0ecbg/tmpw0psxiol.py", line 2
if n>= 2 and n <= 200000
^
SyntaxError: expected ':'
| |
s830585870 | p02258 | u613805578 | 1452079260 | Python | Python | py | Runtime Error | 0 | 0 | 254 | n = input()
if n>= 2 and n <= 200000
for i in range(0, n-1):
R[i] = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmp4z_g_mkj/tmpd_skqzh_.py", line 2
if n>= 2 and n <= 200000
^
SyntaxError: expected ':'
| |
s795579357 | p02258 | u613805578 | 1452079282 | Python | Python | py | Runtime Error | 0 | 0 | 221 | n = input()
if n>= 2 and n <= 200000
R = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpd021pmbg/tmpb4vbopnf.py", line 2
if n>= 2 and n <= 200000
^
SyntaxError: expected ':'
| |
s339988239 | p02258 | u613805578 | 1452079293 | Python | Python | py | Runtime Error | 0 | 0 | 222 | n = input()
if n >= 2 and n <= 200000
R = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpzlptq2ib/tmpfi1qu3ai.py", line 2
if n >= 2 and n <= 200000
^
SyntaxError: expected ':'
| |
s877498769 | p02258 | u613805578 | 1452079328 | Python | Python | py | Runtime Error | 0 | 0 | 252 | n = input()
if n >= 2 and n <= 200000
for i in range(0, n-1):
R = map(int, raw_input().split())
minv = R[0]
maxv = R[1] - R[0]
for j in range(1, n-1):
maxv = max(maxv, R[j] - minv)
minv = min(minv, R[j])
print maxv - minv | File "/tmp/tmpftiu2nag/tmpj7e86e53.py", line 2
if n >= 2 and n <= 200000
^
SyntaxError: expected ':'
| |
s185940213 | p02258 | u613805578 | 1452079946 | Python | Python | py | Runtime Error | 0 | 0 | 218 | n = input()
R = []
for i in range(n):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n-1)
if minv > R[v]:
minv = R[v]
if maxv < R[v]:
maxv = R[v] - minv
print maxv | File "/tmp/tmpf0gt53yr/tmpj6czycyv.py", line 9
for v in range(1, n-1)
^
SyntaxError: expected ':'
| |
s416312715 | p02258 | u613805578 | 1452079989 | Python | Python | py | Runtime Error | 0 | 0 | 219 | n = input()
R = []
for i in range(n):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n-1)
if minv > R[v]:
minv = R[v]
if maxv < R[v] - minv:
maxv = R[v]
print maxv | File "/tmp/tmpfnnadghu/tmpv4b2fwoc.py", line 9
for v in range(1, n-1)
^
SyntaxError: expected ':'
| |
s264246700 | p02258 | u613805578 | 1452080006 | Python | Python | py | Runtime Error | 0 | 0 | 220 | n = input()
R = []
for i in xrange(n):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n-1)
if minv > R[v]:
minv = R[v]
if maxv < R[v] - minv:
maxv = R[v]
print maxv | File "/tmp/tmplrv8pbq4/tmpea34537o.py", line 9
for v in range(1, n-1)
^
SyntaxError: expected ':'
| |
s014241361 | p02258 | u613805578 | 1452080157 | Python | Python | py | Runtime Error | 0 | 0 | 227 | n = input()
R = []
for i in irange(n):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n-1):
if minv > R[v]:
minv = R[v]
if maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmpqvloomnr/tmp6_gnvf5c.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s544009383 | p02258 | u613805578 | 1452080224 | Python | Python | py | Runtime Error | 0 | 0 | 229 | n = input()
R = []
for i in range(0, n-1):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n):
if minv > R[v]:
minv = R[v]
if maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmpt8fk7igl/tmpn7p3tnn5.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s255359569 | p02258 | u613805578 | 1452080257 | Python | Python | py | Runtime Error | 0 | 0 | 231 | n = input()
R = []
for i in range(0, n-1):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n):
if minv > R[v]:
minv = R[v]
elif maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmpufnrn6n2/tmpf_hlwfr1.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s308671255 | p02258 | u613805578 | 1452080332 | Python | Python | py | Runtime Error | 0 | 0 | 229 | n = input()
R = []
for i in range(1, n):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n):
if minv > R[v]:
minv = R[v]
elif maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmp70eqdwma/tmp1m5lpqvs.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s747014561 | p02258 | u613805578 | 1452080339 | Python | Python | py | Runtime Error | 0 | 0 | 231 | n = input()
R = []
for i in range(1, n-1):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n):
if minv > R[v]:
minv = R[v]
elif maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmpat6sajm7/tmp7akc53ct.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s423637281 | p02258 | u613805578 | 1452080346 | Python | Python | py | Runtime Error | 0 | 0 | 231 | n = input()
R = []
for i in range(0, n-1):
R.append(int(raw_input()))
maxv = R[1] - R[0]
minv = R[0]
for v in range(1, n):
if minv > R[v]:
minv = R[v]
elif maxv < R[v] - minv:
maxv = R[v] - minv
print maxv | File "/tmp/tmpaswjih7z/tmpwtr8p36c.py", line 14
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s208416695 | p02258 | u119456964 | 1452145923 | Python | Python | py | Runtime Error | 0 | 0 | 224 | max = 0
n_max = 19999
price = [0]*n_max
for i in range(n_max):
price[i] = int(raw_input())
for i in range(n_max):
for j in range(j, n_max+1):
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpx09ke9_s/tmpsv26na3v.py", line 12
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s219562549 | p02258 | u119456964 | 1452146835 | Python | Python | py | Runtime Error | 0 | 0 | 253 | max = 0
i = 0
j = 0
k = 0
n_max = 19999
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max):
for j in range(k, n_max):
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmptt11xbjv/tmptj4tbg28.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s163923714 | p02258 | u119456964 | 1452147504 | Python | Python | py | Runtime Error | 0 | 0 | 253 | max = 0
i = 0
j = 0
k = 0
n_max = 19999
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max):
for j in range(k, n_max):
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmp_sxuee9l/tmp26a1kq_b.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s184562523 | p02258 | u119456964 | 1452147641 | Python | Python | py | Runtime Error | 0 | 0 | 250 | max = 0
i = 0
j = 0
k = 0
n_max = 19
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max):
for j in range(k, n_max):
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpt5q7bfoo/tmpva9t7ahn.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s051713628 | p02258 | u119456964 | 1452147849 | Python | Python | py | Runtime Error | 0 | 0 | 248 | max = 0
i = 0
j = 0
k = 0
n_max = 10
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpqi7sd540/tmp639d54oa.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s391694357 | p02258 | u119456964 | 1452147865 | Python | Python | py | Runtime Error | 0 | 0 | 247 | max = 0
i = 0
j = 0
k = 0
n_max = 7
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpjgh4agee/tmp138azgv3.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s659824029 | p02258 | u119456964 | 1452147874 | Python | Python | py | Runtime Error | 0 | 0 | 247 | max = 0
i = 0
j = 0
k = 0
n_max = 6
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpp2yp62yy/tmpkppfqdd7.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s494812790 | p02258 | u119456964 | 1452148066 | Python | Python | py | Runtime Error | 0 | 0 | 262 | max = 0
i = 0
j = 0
k = 0
n_max = int(raw_input())
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmp91z2tccv/tmpofqeskll.py", line 9
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s927970395 | p02258 | u119456964 | 1452148116 | Python | Python | py | Runtime Error | 0 | 0 | 212 | max = 0
i = 0
j = 0
k = 0
n_max = int(raw_input())
price = [0]*n_max
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmps43z2ep2/tmpng3c6217.py", line 9
for i in range(n_max)
^
SyntaxError: expected ':'
| |
s540098289 | p02258 | u119456964 | 1452148202 | Python | Python | py | Runtime Error | 0 | 0 | 272 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = []
for k in range(n_max):
price.attend(int(raw_input())
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpyfoet0qw/tmp2tm3bdd_.py", line 10
price.attend(int(raw_input())
^
SyntaxError: '(' was never closed
| |
s654963618 | p02258 | u119456964 | 1452148460 | Python | Python | py | Runtime Error | 0 | 0 | 221 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(n_max)
for j in range(i, n_max)
if max <= price[j] - price[i]:
max = price[j] - price[i]
print max | File "/tmp/tmpwzs9l9ei/tmpxgdl6uuj.py", line 9
for i in range(n_max)
^
SyntaxError: expected ':'
| |
s517125560 | p02258 | u119456964 | 1452148504 | Python | Python | py | Runtime Error | 0 | 0 | 154 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(n_max)
if max <= price[j] - price[i]:
print max | File "/tmp/tmpayfkxq2c/tmpt9kdflm6.py", line 9
for i in range(n_max)
^
SyntaxError: expected ':'
| |
s050067593 | p02258 | u119456964 | 1452148521 | Python | Python | py | Runtime Error | 0 | 0 | 150 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6)
if max <= price[j] - price[i]:
print max | File "/tmp/tmp7f4fuux_/tmpnekmlwjn.py", line 9
for i in range(6)
^
SyntaxError: expected ':'
| |
s343541007 | p02258 | u119456964 | 1452148531 | Python | Python | py | Runtime Error | 0 | 0 | 151 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6):
if max <= price[j] - price[i]:
print max | File "/tmp/tmpn80m8655/tmp6sa3xrbh.py", line 11
print max
^
IndentationError: expected an indented block after 'if' statement on line 10
| |
s209433987 | p02258 | u119456964 | 1452148673 | Python | Python | py | Runtime Error | 0 | 0 | 196 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(n_max)
for j in range(k, n_max)
if max <= price[j] - price[i]:
print max | File "/tmp/tmp8ij981ed/tmpw_ayaaij.py", line 10
for i in range(n_max)
^
SyntaxError: expected ':'
| |
s700963537 | p02258 | u119456964 | 1452148687 | Python | Python | py | Runtime Error | 0 | 0 | 188 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6)
for j in range(k, 6)
if max <= price[j] - price[i]:
print max | File "/tmp/tmp9oz81k1a/tmpv25cdaoo.py", line 10
for i in range(6)
^
SyntaxError: expected ':'
| |
s790800202 | p02258 | u119456964 | 1452148694 | Python | Python | py | Runtime Error | 0 | 0 | 188 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6)
for j in range(j, 6)
if max <= price[j] - price[i]:
print max | File "/tmp/tmp5kpjm314/tmpe3lqd593.py", line 10
for i in range(6)
^
SyntaxError: expected ':'
| |
s513256299 | p02258 | u119456964 | 1452148711 | Python | Python | py | Runtime Error | 0 | 0 | 188 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6)
for j in range(j, 6)
if max <= price[5] - price[i]:
print max | File "/tmp/tmp1icw3wqk/tmp2scgiyqm.py", line 10
for i in range(6)
^
SyntaxError: expected ':'
| |
s975936149 | p02258 | u119456964 | 1452148727 | Python | Python | py | Runtime Error | 0 | 0 | 186 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(6)
for j in range(j, 6)
if max <= price[5] - price[i]:
print max | File "/tmp/tmpzufdoj7o/tmpicmx9ct9.py", line 10
for i in range(6)
^
SyntaxError: expected ':'
| |
s735097696 | p02258 | u119456964 | 1452148763 | Python | Python | py | Runtime Error | 0 | 0 | 186 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
for j in range(j, 5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmp0ld3ko45/tmp7m_yc3_u.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s810244018 | p02258 | u119456964 | 1452148810 | Python | Python | py | Runtime Error | 0 | 0 | 183 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
for j in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmpugrdixwz/tmp418f082g.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s041973546 | p02258 | u119456964 | 1452148929 | Python | Python | py | Runtime Error | 0 | 0 | 153 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmp0qbv1zlp/tmp_8vaauzb.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s241973232 | p02258 | u119456964 | 1452148958 | Python | Python | py | Runtime Error | 0 | 0 | 147 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmpiuqpnifi/tmpb68atb04.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s967783322 | p02258 | u119456964 | 1452148977 | Python | Python | py | Runtime Error | 0 | 0 | 171 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
for i in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmp29vsgax9/tmpu242goxb.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s364609890 | p02258 | u119456964 | 1452148985 | Python | Python | py | Runtime Error | 0 | 0 | 173 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5):
for i in range(5):
if max <= price[5] - price[i]:
print max | File "/tmp/tmp09wr79cf/tmp6q1e39og.py", line 13
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s114696264 | p02258 | u119456964 | 1452148991 | Python | Python | py | Runtime Error | 0 | 0 | 173 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5):
for j in range(5):
if max <= price[5] - price[i]:
print max | File "/tmp/tmpmkl_ox_c/tmpl6hwb5q5.py", line 13
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s744732699 | p02258 | u119456964 | 1452149008 | Python | Python | py | Runtime Error | 0 | 0 | 171 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
for j in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmp7qrr0mt6/tmpoo1y2dip.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s901997911 | p02258 | u119456964 | 1452149019 | Python | Python | py | Runtime Error | 0 | 0 | 147 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5)
if max <= price[5] - price[i]:
print max | File "/tmp/tmphg3cwk6z/tmpgioog1ks.py", line 10
for i in range(5)
^
SyntaxError: expected ':'
| |
s253310905 | p02258 | u119456964 | 1452149034 | Python | Python | py | Runtime Error | 0 | 0 | 148 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5):
if max <= price[5] - price[i]:
print max | File "/tmp/tmp7llhx411/tmp9s7o5u86.py", line 12
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s895923267 | p02258 | u119456964 | 1452149055 | Python | Python | py | Runtime Error | 0 | 0 | 148 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5]
for i in range(5):
if max <= price[5] - price[i]:
print max | File "/tmp/tmprh6d1pia/tmppih76jzl.py", line 12
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s925153266 | p02258 | u119456964 | 1452149113 | Python | Python | py | Runtime Error | 0 | 0 | 212 | max = 0
i = 0
j = 0
k = 0
n_max = 0
??
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6):
????????for j in range(6):
????????????????if max <= price[j] - price[i]:
????????????????????????print max | File "/tmp/tmpwpqiltdq/tmp23cp0ib9.py", line 6
??
^
SyntaxError: invalid syntax
| |
s035932228 | p02258 | u119456964 | 1452149124 | Python | Python | py | Runtime Error | 0 | 0 | 200 | max = 0
i = 0
j = 0
k = 0
n_max = 0
??
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6):
????for j in range(6):
????????????if max <= price[j] - price[i]:
????????????????????print max | File "/tmp/tmp0ob002ev/tmpu53enlrc.py", line 6
??
^
SyntaxError: invalid syntax
| |
s992869542 | p02258 | u119456964 | 1452149141 | Python | Python | py | Runtime Error | 0 | 0 | 198 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6):
????for j in range(6):
????????????if max <= price[j] - price[i]:
????????????????????print max | File "/tmp/tmpyv9krwbd/tmpex7d39zz.py", line 10
????for j in range(6):
^
IndentationError: expected an indented block after 'for' statement on line 9
| |
s391660404 | p02258 | u119456964 | 1452149152 | Python | Python | py | Runtime Error | 0 | 0 | 204 | max = 0
i = 0
j = 0
k = 0
n_max = 0
n_max = int(raw_input())
price = [1,2,3,4,5,6]
for i in range(6):
???? for j in range(6):
???????????? if max <= price[j] - price[i]:
???????????????????? print max | File "/tmp/tmpvxib9mdl/tmp2n62tow5.py", line 10
???? for j in range(6):
^
IndentationError: expected an indented block after 'for' statement on line 9
| |
s713102335 | p02258 | u038005340 | 1452229267 | Python | Python | py | Runtime Error | 0 | 0 | 244 | n = raw_input()
n = int(n)
minv = raw_input()
minv = iny(minv)
maxv = -1000000000
for j in range(n-1):
num = raw_input()
num = int(num)
diff = num - minv
if maxv < diff:
maxv = diff
if num < minv:
minv = num
print maxv | File "/tmp/tmpig4gqgcc/tmpcc1hx1ar.py", line 16
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s054173399 | p02258 | u038005340 | 1452229306 | Python | Python | py | Runtime Error | 0 | 0 | 244 | n = raw_input()
n = int(n)
minv = raw_input()
minv = iny(minv)
maxv = -1000000000
for j in range(n-1):
num = raw_input()
num = int(num)
diff = num - minv
if maxv < diff:
maxv = diff
if num < minv:
minv = num
print maxv | File "/tmp/tmpqfjtx3wd/tmpwehk59pz.py", line 16
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s268850060 | p02258 | u038005340 | 1452229360 | Python | Python | py | Runtime Error | 0 | 0 | 244 | n = raw_input()
n = int(n)
minv = raw_input()
minv = iny(minv)
maxv = -1000000000
for j in range(n-1):
num = raw_input()
num = int(num)
diff = num - minv
if maxv < diff:
maxv = diff
if num < minv:
minv = num
print maxv | File "/tmp/tmp4ub8frka/tmp_cjxcxmc.py", line 16
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s665395457 | p02258 | u824216249 | 1452253600 | Python | Python | py | Runtime Error | 20 | 6444 | 209 | n = int(input())
R = []
for i in range(n):
R.append(input())
Max = R[2] - R[1]
for i in range(n):
for j in range(i+1,n):
if R[j] - R[i] > Max : Max = R[j] - R[i]
print Max | File "/tmp/tmpjroxcg3e/tmpbqfqigvo.py", line 13
print Max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s865773182 | p02258 | u824216249 | 1452253686 | Python | Python | py | Runtime Error | 20 | 6472 | 204 | n = int(input())
R = []
for i in range(n):
R.append(input())
Max = R[2] - R[1]
for i in range(n):
for j in range(i+1,n):
if R[j] - R[i] > Max : Max = R[j] - R[i]
print Max | File "/tmp/tmp49mcsz0p/tmp3apufuqw.py", line 13
print Max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s892144422 | p02258 | u069446126 | 1452346159 | Python | Python | py | Runtime Error | 0 | 0 | 222 | N = int(raw_input())
R = []
for i in range(N)
R.append(int(raw_input()))
max = R[1] - R[0]
for i in range(N - 1)
for j in range(i)
dif = R[i+1] - R[j]
if dif > max:
max = dif
print max | File "/tmp/tmpp712dlpf/tmp3vv0d_a5.py", line 3
for i in range(N)
^
SyntaxError: expected ':'
| |
s944908705 | p02258 | u069446126 | 1452346514 | Python | Python | py | Runtime Error | 0 | 0 | 224 | N = int(raw_input())
R = []
for i in range(N):
R[i] = (int(raw_input()))
max = R[1] - R[0]
for i in range(N - 1):
for j in range(i):
dif = R[i+1] - R[j]
if dif > max:
max = dif
print max | File "/tmp/tmp7d71zole/tmpbfn6tj_i.py", line 13
print max
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s298840662 | p02258 | u069446126 | 1452353654 | Python | Python | py | Runtime Error | 0 | 0 | 289 | N = int(raw_input())
max = 0
min = 0
for i in range(N):
R.append(int(raw_input()))
min = R[0]
max = R[1]
dif = R[1] - R[0]
for i in range(N - 1):
if R[i+1] > max:
max = R[i+1]
dif = max - min
if R[i] < min:
min = R[i]
dif = max - min
print dif | File "/tmp/tmpaxbyzrqg/tmpbtixa3dl.py", line 18
print dif
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s314834027 | p02258 | u069446126 | 1452354767 | Python | Python | py | Runtime Error | 0 | 0 | 213 | N = int(raw_input())
min = int(raw_input())
max = int(raw_input())
dif = max - min
for i in range(N):
R = int(raw_input())
if R - min > dif:
dif = R - min
if R < min:
min = R
print dif | File "/tmp/tmpxg_x0te0/tmp5yfpi0vs.py", line 12
print dif
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s937060056 | p02258 | u970436839 | 1452434057 | Python | Python | py | Runtime Error | 0 | 0 | 146 | n = input()
maximum = 0
minimum = 0
for i in range(n):
tmp = imput()
maximum = max(maximum, tmp)
minimum = min(minimum, tmp)
print maximum | File "/tmp/tmpr_46ese2/tmp5byeyd96.py", line 10
print maximum
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s214099045 | p02258 | u970436839 | 1452434179 | Python | Python | py | Runtime Error | 0 | 0 | 154 | n = input()
maximum = 0
minimum = 0
for i in range(n):
tmp = imput()
maximum = max(maximum, tmp)
minimum = min(minimum, tmp)
print maximum-minimum | File "/tmp/tmp3fz7cxoa/tmpu6gz13un.py", line 10
print maximum-minimum
^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s184043681 | p02258 | u970436839 | 1452434790 | Python | Python | py | Runtime Error | 0 | 0 | 147 | n = input()
maxi = 0
mini = 10**9
for i in range(n):
tmp = input()
maxi = max(maxi, tmp)
mini = min(mini, tmp)
ans = maxi - min
print ans | File "/tmp/tmpi_q___fx/tmpo4twaaan.py", line 13
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s360241611 | p02258 | u834416077 | 1452486479 | Python | Python | py | Runtime Error | 0 | 0 | 238 | n = int(raw_input())
maxv = int(raw_input())
minv = int(raw_input())
maxv = -10**9
for j in range(0,n-1):
nums = int(raw_input())
deff = nums - minv
if maxv < deff:
maxv = deff
if minv > nums:
minv = nums
print maxv | File "/tmp/tmp3hckeweu/tmpvnzsxe64.py", line 13
print maxv
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s099678855 | p02258 | u834416077 | 1452486753 | Python | Python | py | Runtime Error | 0 | 0 | 218 | n = int(raw_input())
maxv = int(raw_input())
minv = int(raw_input())
maxv = -10**9
for j in range(0,n-1):
nums = int(raw_input())
diff = nums - minv
maxv = max(maxv,diff)
minv = min(minv,nums)
print maxv | File "/tmp/tmpi6l7wbfy/tmpqqaihig8.py", line 6
for j in range(0,n-1):
IndentationError: unexpected indent
| |
s298491224 | p02258 | u834416077 | 1452486808 | Python | Python | py | Runtime Error | 0 | 0 | 194 | n = int(raw_input())
minv = int(raw_input())
maxv = -10**9
for j in range(0,n-1):
nums = int(raw_input())
diff = nums - minv
maxv = max(maxv,diff)
minv = min(minv,nums)
print maxv | File "/tmp/tmp_llr_9xh/tmpz50rbo3c.py", line 5
for j in range(0,n-1):
IndentationError: unexpected indent
| |
s946257136 | p02258 | u834416077 | 1452487181 | Python | Python | py | Runtime Error | 0 | 0 | 186 | n = int(raw_input())
maxv = -10**9
minv = 10**9
for j in range(0,n-1):
nums = int(raw_input())
diff = nums - minv
maxv = max(maxv,diff)
minv = min(minv,nums)
print maxv | File "/tmp/tmpieba6lig/tmp5p6pz9yg.py", line 1
n = int(raw_input())
IndentationError: unexpected indent
| |
s521001139 | p02258 | u834416077 | 1452487317 | Python | Python | py | Runtime Error | 0 | 0 | 184 | n = int(raw_input())
maxv = -10**9
minv = 10**9
for j in range(n-1):
nums = int(raw_input())
diff = nums - minv
maxv = max(maxv,diff)
minv = min(minv,nums)
print maxv | File "/tmp/tmp3_h98mlw/tmpfuc3y6rg.py", line 1
n = int(raw_input())
IndentationError: unexpected indent
| |
s576671826 | p02258 | u724923896 | 1452487339 | Python | Python | py | Runtime Error | 0 | 0 | 125 | n = input()
maxv = -10**9
minv = R[]
for i in range(n-1):
maxv = max(maxv, R[i]-minv)
minv = min(minv, R[i])
print maxv | File "/tmp/tmp7ztuadte/tmpzeeh88er.py", line 3
minv = R[]
^
SyntaxError: invalid syntax
| |
s105255124 | p02258 | u834416077 | 1452487468 | Python | Python | py | Runtime Error | 0 | 0 | 184 | n = int(raw_input())
maxv = -10**9
minv = 10**9
for j in range(n-1):
nums = int(raw_input())
diff = nums - minv
maxv = max(maxv,diff)
minv = min(minv,nums)
print maxv | File "/tmp/tmpyt9jm67k/tmpulvhfwyz.py", line 1
n = int(raw_input())
IndentationError: unexpected indent
| |
s225803449 | p02258 | u724923896 | 1452490261 | Python | Python | py | Runtime Error | 0 | 0 | 139 | n = input()
max = -10**9
min = R[]
for i in range(n-1):
if max <= R[i] - min:
max = R[i] - min
if R[i] <= min:
min = R[i]
print max | File "/tmp/tmpteoohlp0/tmppb0syzha.py", line 3
min = R[]
^
SyntaxError: invalid syntax
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.