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
s873889683
p02402
u011261384
1469519611
Python
Python
py
Runtime Error
0
0
99
p(long, raw_input().split()) max = max(n) min = min(n) sum = sum(n) print "%d %d %d" %(min,max,sum)
File "/tmp/tmpxeyr8ne7/tmpkxm9amx1.py", line 5 print "%d %d %d" %(min,max,sum) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s908297133
p02402
u435917115
1469601659
Python
Python3
py
Runtime Error
0
0
85
input() data = [int(i) for i input().split()] print(min(data), max(data), sum(data))
File "/tmp/tmpy880kqzb/tmplnlgbn1l.py", line 2 data = [int(i) for i input().split()] ^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s351845599
p02402
u435917115
1469601664
Python
Python3
py
Runtime Error
0
0
85
input() data = [int(i) for i input().split()] print(min(data), max(data), sum(data))
File "/tmp/tmpkp2lrg1i/tmpnjfgb6ca.py", line 2 data = [int(i) for i input().split()] ^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s478680961
p02402
u204883389
1469601676
Python
Python3
py
Runtime Error
0
0
96
count = input() data = [int(i) for i in input().sprit()] print(min(data), max(data), sum(data))
Traceback (most recent call last): File "/tmp/tmpcas098ju/tmpigxiwp9b.py", line 1, in <module> count = input() ^^^^^^^ EOFError: EOF when reading a line
s590176053
p02402
u435917115
1469601681
Python
Python3
py
Runtime Error
0
0
85
input() data = [int(i) for i input().split()] print(min(data), max(data), sum(data))
File "/tmp/tmp8plbu2cb/tmpz4sa2iz8.py", line 2 data = [int(i) for i input().split()] ^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s611452850
p02402
u747009765
1469601697
Python
Python3
py
Runtime Error
0
0
90
input() data = [int(i) for i in input().split()] print(min(data), max(data), sum(data))
File "/tmp/tmpqoioavpm/tmpdqa_kl6z.py", line 1 input() IndentationError: unexpected indent
s873891477
p02402
u204883389
1469601721
Python
Python3
py
Runtime Error
0
0
100
count = input() data = [int(i) for i in input().sprit()] print(min(data), max(data), sum(data),)
File "/tmp/tmpjg7hbu_t/tmpvzoaf975.py", line 3 print(min(data), max(data), sum(data),) IndentationError: unexpected indent
s193146093
p02402
u510829608
1469750576
Python
Python3
py
Runtime Error
20
7608
106
cnt = int(input()) a,b,c,d,e = map(int, input().split()) li = [a,b,c,d,e] print(min(li), max(li), sum(li))
Traceback (most recent call last): File "/tmp/tmpe400u0hu/tmpvgahjn3_.py", line 1, in <module> cnt = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s761909839
p02402
u510829608
1469750631
Python
Python3
py
Runtime Error
20
7584
106
cnt = int(input()) a,b,c,d,e = map(int, input().split()) li = [a,b,c,d,e] print(min(li), max(li), sum(li))
Traceback (most recent call last): File "/tmp/tmp9cjol0he/tmp7qokht2i.py", line 1, in <module> cnt = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s337147137
p02402
u216425054
1470731905
Python
Python3
py
Runtime Error
0
0
89
n=int(input()) list=sorted([int(x) for x in input().split()]) print(a[0],a[-1],sum(list))
Traceback (most recent call last): File "/tmp/tmpc61nq2_1/tmpx9hwyz_l.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s784021436
p02402
u998435601
1470860614
Python
Python
py
Runtime Error
0
0
149
n = input() lis = map(int, raw_input().split()) mn = lis[0] mx = li[0] for t in lis: if mn > t: mn = t if mx < t: mx = t print mn, mx, sum(lis)
File "/tmp/tmpestebgri/tmp548vxr9t.py", line 10 print mn, mx, sum(lis) ^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s252122339
p02402
u099155265
1472270646
Python
Python3
py
Runtime Error
0
0
89
n = int(input()) a = map(int, input().split()) print(sum(a)) print(max(a)) print(min(a))
Traceback (most recent call last): File "/tmp/tmpdoj5ni8f/tmpdhurqd89.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s011242546
p02402
u862440080
1473936764
Python
Python3
py
Runtime Error
0
0
183
while(ansa=input().split() && ansb=input().split()): hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
File "/tmp/tmpncxi9coj/tmpvlk5ig0p.py", line 1 while(ansa=input().split() && ansb=input().split()): ^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s868525647
p02402
u862440080
1473936845
Python
Python3
py
Runtime Error
0
0
216
while True: ansa=input().split() ansb=input().split() if not ansa: break hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmpxflinpnr/tmpybydfm0g.py", line 2, in <module> ansa=input().split() ^^^^^^^ EOFError: EOF when reading a line
s617243961
p02402
u862440080
1473936892
Python
Python3
py
Runtime Error
0
0
248
while True: ansa=input() ansb=input() if not ansa: break ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmpny0vqfpt/tmp2vftf4kv.py", line 2, in <module> ansa=input() ^^^^^^^ EOFError: EOF when reading a line
s950005224
p02402
u862440080
1473937042
Python
Python3
py
Runtime Error
0
0
252
while True: ansa=input() ansb=input() if ansa == '\n': break ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmpm2ezqwyk/tmpcpr91xw8.py", line 2, in <module> ansa=input() ^^^^^^^ EOFError: EOF when reading a line
s333647535
p02402
u862440080
1473937079
Python
Python3
py
Runtime Error
0
0
225
while True: ansa=input() ansb=input() ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmpbygvkrzk/tmpkjwk4l20.py", line 2, in <module> ansa=input() ^^^^^^^ EOFError: EOF when reading a line
s338655643
p02402
u862440080
1473937265
Python
Python3
py
Runtime Error
0
0
260
while True: ansa = input() ansb = input() if len(ansa) == 0: break ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmp0vxy1qqs/tmpjie81slx.py", line 2, in <module> ansa = input() ^^^^^^^ EOFError: EOF when reading a line
s501022976
p02402
u862440080
1473937322
Python
Python3
py
Runtime Error
0
0
259
while True: ansa = input() if len(ansa) == 0: break ansb = input() ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmp34wv5fas/tmpe03xawjs.py", line 2, in <module> ansa = input() ^^^^^^^ EOFError: EOF when reading a line
s627399269
p02402
u862440080
1473937358
Python
Python3
py
Runtime Error
0
0
256
while True: ansa = input() if ansa == '\n': break ansb = input() ansa = ansa.split() ansb = ansb.split() hit = sum((1 for a, b in zip(ansa, ansb) if a == b)) blow = sum((1 for a in ansa if a in ansb)) print(hit, blow-hit)
Traceback (most recent call last): File "/tmp/tmp56zxipjh/tmpwq920iga.py", line 2, in <module> ansa = input() ^^^^^^^ EOFError: EOF when reading a line
s222859921
p02402
u831244171
1477495673
Python
Python
py
Runtime Error
0
0
182
n = input() a = map(int,raw_input().split()) s = 0 m = a[0] M = a[0] for i in range(0,n): s += a[i] if m > a[i]: s = a[i] if M < a[i] M = a[i] print m,M,s
File "/tmp/tmp2it09do2/tmpf1fmywsj.py", line 10 if M < a[i] ^ SyntaxError: expected ':'
s969795102
p02402
u831244171
1477495726
Python
Python
py
Runtime Error
0
0
172
n = input() a = input().split() s = 0 m = a[0] M = a[0] for i in range(0,n): s = s + a[i] if m > a[i]: m = a[i] if M < a[i] M = a[i] print m,M,s
File "/tmp/tmpl_sj5ikv/tmpdwdo8y_o.py", line 10 if M < a[i] ^ SyntaxError: expected ':'
s026517306
p02402
u831244171
1477495744
Python
Python
py
Runtime Error
0
0
173
n = input() a = input().split() s = 0 m = a[0] M = a[0] for i in range(0,n): s = s + a[i] if m > a[i]: m = a[i] if M < a[i]: M = a[i] print m,M,s
File "/tmp/tmpt832avwz/tmpu060arrd.py", line 12 print m,M,s ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s886128318
p02402
u941509088
1478251325
Python
Python3
py
Runtime Error
0
0
189
n=int(input()) l = [] for i in range(n): l.append(input()) min_l = min(map(int,l)) max_l = max(map(int,l)) sum_l = sum(map(int,l)) print("{0} {1} {2}".format(min_l, max_l, sum_l))
Traceback (most recent call last): File "/tmp/tmpuv38mc7k/tmprel0wzje.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s391592562
p02402
u941509088
1478284594
Python
Python3
py
Runtime Error
0
0
98
n = int(input()) a = [] for i in range(n): a.append(int(input())) print(min(a),max(a),sum(a))
Traceback (most recent call last): File "/tmp/tmprg0qgsil/tmpyfswvqot.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s253267390
p02402
u941509088
1478284861
Python
Python3
py
Runtime Error
0
0
113
n = int(input()) a = [] for i in range(n): a.append(int(input())) print('%s %s %s' % (min(a),max(a),sum(a)))
Traceback (most recent call last): File "/tmp/tmpx1cfb3x2/tmpf1z3efeg.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s866433845
p02402
u941509088
1478285640
Python
Python3
py
Runtime Error
0
0
81
n = int(input()) a = [int(input()) for i in range(n)] print(min(a),max(a),sum(a))
Traceback (most recent call last): File "/tmp/tmpg6c6jjg2/tmpi_9hxgid.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s760566992
p02402
u854978981
1479388117
Python
Python3
py
Runtime Error
0
0
248
x = input() x = x.split("\n") y = x[1].split(" ") y = [int(z) for z in y] cmax = ???1000000 cmin = 1000000 csum = 0 for z in y: if cmax < z: cmax = z if cmin > z: cmin = z csum += z print("%d %d %d" % (cmin, cmax, csum))
File "/tmp/tmpcd0adnma/tmpkrjl2cg2.py", line 5 cmax = ???1000000 ^ SyntaxError: invalid syntax
s219737514
p02402
u854978981
1479388400
Python
Python3
py
Runtime Error
0
0
270
x = input() x = x.split() x = [int(z) for z in x] #y = x[1].split(" ") #y = [int(z) for z in y] cmax = ???1000000 cmin = 1000000 csum = 0 for z in x: if cmax < z: cmax = z if cmin > z: cmin = z csum += z print("%d %d %d" % (cmin, cmax, csum))
File "/tmp/tmpv3n9izgd/tmpi2eeg7lb.py", line 6 cmax = ???1000000 ^ SyntaxError: invalid syntax
s519818218
p02402
u854978981
1479388502
Python
Python3
py
Runtime Error
0
0
273
x = input() x = x.split(" ") x = [int(z) for z in x] #y = x[1].split(" ") #y = [int(z) for z in y] cmax = ???1000000 cmin = 1000000 csum = 0 for z in x: if cmax < z: cmax = z if cmin > z: cmin = z csum += z print("%d %d %d" % (cmin, cmax, csum))
File "/tmp/tmpsyshydly/tmp9ar2lvzv.py", line 6 cmax = ???1000000 ^ SyntaxError: invalid syntax
s035168410
p02402
u508732591
1479964848
Python
Python3
py
Runtime Error
0
0
64
input() n = map(int,input().split()) print(min(n),max(x),sum(s))
Traceback (most recent call last): File "/tmp/tmpgrr024r_/tmp8kxt_qd4.py", line 1, in <module> input() EOFError: EOF when reading a line
s915422691
p02402
u508732591
1479964886
Python
Python3
py
Runtime Error
0
0
64
input() n = map(int,input().split()) print(min(n),max(n),sum(n))
Traceback (most recent call last): File "/tmp/tmp1waju4rt/tmp_xnzyhao.py", line 1, in <module> input() EOFError: EOF when reading a line
s302827098
p02402
u694307805
1480569088
Python
Python3
py
Runtime Error
0
0
89
n = int(input()) dat = list(map(int. input().split())) print(min(dat). max(dat).sum(dat))
Traceback (most recent call last): File "/tmp/tmpbr7cuxp4/tmp6b6etnxj.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s834023719
p02402
u133061229
1480569117
Python
Python3
py
Runtime Error
0
0
92
n = int (input()) dat = list(map(int, input(). split())) print(min(dat). max(dat). sum(dat))
Traceback (most recent call last): File "/tmp/tmp0jmk3i84/tmp5j1v46ic.py", line 1, in <module> n = int (input()) ^^^^^^^ EOFError: EOF when reading a line
s977019424
p02402
u694307805
1480569142
Python
Python3
py
Runtime Error
0
0
91
n = int(input()) dat = list(map(int. input().split())) print(min(dat). max(dat). sum(dat))
Traceback (most recent call last): File "/tmp/tmpi53jkjj1/tmp7h57pkpf.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s839194321
p02402
u694307805
1480569258
Python
Python3
py
Runtime Error
0
0
91
n = int(input()) dat = list(map(int. input().split())) print(min(dat). max(dat). sum(dat))
Traceback (most recent call last): File "/tmp/tmpbutc_x3f/tmpg4t_6frr.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s154491582
p02402
u276050131
1485270000
Python
Python3
py
Runtime Error
0
0
184
#coding:utf-8 n = input() n = int(n) j = 0 f = 0 li = [] while n > 0: n -= 1 f = input() f = int(f) li.append(f) mn = min(li) mx = max(li) sm = sum(li) print(mn,mx,sm)
Traceback (most recent call last): File "/tmp/tmpjwazaxjs/tmp2g96tlrl.py", line 2, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s422352425
p02402
u276050131
1485270114
Python
Python3
py
Runtime Error
0
0
184
#coding:utf-8 n = input() n = int(n) j = 0 f = 0 li = [] while n > 0: n -= 1 f = input() f = int(f) li.append(f) mn = min(li) mx = max(li) sm = sum(li) print(mn,mx,sm)
Traceback (most recent call last): File "/tmp/tmpr914qsg8/tmpwpavy7j1.py", line 2, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s933641255
p02402
u519227872
1485347456
Python
Python
py
Runtime Error
0
0
118
import sys l = [map(int,l.split()) for line in sys.stdin] n = l[0] l = l[1] print "%s %s %s" %(min(l),max(l),sum(l))
File "/tmp/tmp8iadvbcb/tmp0roepj_8.py", line 7 print "%s %s %s" %(min(l),max(l),sum(l)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s963062796
p02402
u307520683
1486101582
Python
Python
py
Runtime Error
0
0
152
import numpy as np a = input () input = np.array(map(int,raw_input().split())) print np.delete(input, 0).min(axis=0),input.max(axis=0),input.sum(axis=0)
File "/tmp/tmpq9v63pph/tmposb22ia_.py", line 4 print np.delete(input, 0).min(axis=0),input.max(axis=0),input.sum(axis=0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s649904059
p02402
u104171359
1486350272
Python
Python3
py
Runtime Error
0
0
263
#!usr/bin/env python3 import sys def string_to_list_spliter(): lst = [int(i) for i in sys.stdin.readline().split()] return lst def main(): lst = string_to_list_spliter() print(min(lst), max(lst), sum()) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpopdioxo7/tmpi4_dbutb.py", line 17, in <module> main() File "/tmp/tmpopdioxo7/tmpi4_dbutb.py", line 13, in main print(min(lst), max(lst), sum()) ^^^^^^^^ ValueError: min() arg is an empty sequence
s341291441
p02402
u104171359
1486350344
Python
Python3
py
Runtime Error
0
0
288
#!usr/bin/env python3 import sys def string_to_list_spliter(): sys.stdin.readline() lst = [int(i) for i in sys.stdin.readline().split()] return lst def main(): lst = string_to_list_spliter() print(min(lst), max(lst), sum()) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpe4helm2w/tmp2sl1a1z0.py", line 18, in <module> main() File "/tmp/tmpe4helm2w/tmp2sl1a1z0.py", line 14, in main print(min(lst), max(lst), sum()) ^^^^^^^^ ValueError: min() arg is an empty sequence
s464745904
p02402
u104171359
1486350616
Python
Python3
py
Runtime Error
0
0
292
#!usr/bin/env python3 import sys def string_to_list_spliter(): n = sys.stdin.readline() lst = [int(i) for i in sys.stdin.readline().split()] return lst def main(): lst = string_to_list_spliter() print(min(lst), max(lst), sum()) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpl5uqjih7/tmpjpa1qb0x.py", line 18, in <module> main() File "/tmp/tmpl5uqjih7/tmpjpa1qb0x.py", line 14, in main print(min(lst), max(lst), sum()) ^^^^^^^^ ValueError: min() arg is an empty sequence
s950019239
p02402
u130834228
1488951600
Python
Python3
py
Runtime Error
0
0
197
n = int(input().split("\")) i = 0 list_n = [n] for i in range(0, n-1): list_n[i] = int(input().split()) min = min(list_n) max = max(list_n) sum = sum(list_n) print("%d %d %d" % (min, max, sum))
File "/tmp/tmp8ejfcztb/tmpwehqh4wd.py", line 1 n = int(input().split("\")) ^ SyntaxError: unterminated string literal (detected at line 1)
s653257894
p02402
u645985665
1493606013
Python
Python3
py
Runtime Error
0
0
109
import sys n =int(input()) x = sys.stdin.readline().split() print("{0} {1} {2}".format(min(x),max(x),sum(x)))
Traceback (most recent call last): File "/tmp/tmpd2yb0umh/tmpy2fh47e5.py", line 2, in <module> n =int(input()) ^^^^^^^ EOFError: EOF when reading a line
s153705381
p02402
u645985665
1493606351
Python
Python3
py
Runtime Error
0
0
117
import sys input() x = list(map(int,sys.stdin.readlines().split())) print("{0} {1} {2}".format(min(x),max(x),sum(x)))
Traceback (most recent call last): File "/tmp/tmpqtmv08m0/tmp9t5s1ha0.py", line 2, in <module> input() EOFError: EOF when reading a line
s658968458
p02402
u496884945
1494069505
Python
Python3
py
Runtime Error
0
0
179
n = input() a = input().split(' ') nums = [int(str) for str in a] sum = 0 nums.sort() max = num[n-1] min = num[0] for i in nums: sum += i print("{0} {1} {2}".format(min,max,sum))
Traceback (most recent call last): File "/tmp/tmpr2__j_k3/tmpninfhpso.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s613593098
p02402
u371539389
1494843716
Python
Python3
py
Runtime Error
20
8020
501
def minimum(a): b=a.copy() if len(b)==1: return b[0] else: c=b.pop(-1) return min(c,minimum(b)) def maximum(a): b=a.copy() if len(b)==1: return b[0] else: c=b.pop(-1) return max(c,maximum(b)) def sum(a): b=a.copy() if len(b)==1: r...
Traceback (most recent call last): File "/tmp/tmplyojqeyq/tmp6ac_d7ml.py", line 28, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s884148496
p02402
u999594662
1496284928
Python
Python3
py
Runtime Error
0
0
167
n = int(input()) n_list = [int(i) for i in input().split(" ")] mini = min(n_list) maxi = max(n_list) total = sum(n_list) print('{0} {1} {2}'.format(mini, maxi, total)
File "/tmp/tmp1sqax67m/tmp_d5g6ejq.py", line 7 print('{0} {1} {2}'.format(mini, maxi, total) ^ SyntaxError: '(' was never closed
s393217343
p02402
u340500592
1498977217
Python
Python3
py
Runtime Error
0
0
76
n = int(input()) a = map(int, input().split()) print(min(a), max(a), sum(a))
Traceback (most recent call last): File "/tmp/tmpzpyx49h4/tmpbu9glwa8.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s290817364
p02402
u569585396
1499913440
Python
Python3
py
Runtime Error
0
0
129
n = input().split() max = max(int(n)) min = min(int(n)) sum = sum(int(n)) answer = "{} {} {}" print(answer.format(max, min, sum))
Traceback (most recent call last): File "/tmp/tmplf5q756e/tmpuw9p36it.py", line 1, in <module> n = input().split() ^^^^^^^ EOFError: EOF when reading a line
s776252469
p02402
u853619096
1500377152
Python
Python3
py
Runtime Error
0
0
131
n=int(input()) a = map(int(),input().split()) as =a.sort() max =as[-1] mum =as[0] sum=sum(as) print("{} {} {}".format(mum,max,sum))
File "/tmp/tmp3gi9mqss/tmpat10h8_d.py", line 3 as =a.sort() ^^ SyntaxError: invalid syntax
s609337842
p02402
u350064373
1500473489
Python
Python3
py
Runtime Error
0
0
71
input() x = [map(int, input().split(' '))] print(min(x)),max(x),sum(x))
File "/tmp/tmp2rd9xqin/tmphtq1ovma.py", line 3 print(min(x)),max(x),sum(x)) ^ SyntaxError: unmatched ')'
s489769045
p02402
u350064373
1500473557
Python
Python3
py
Runtime Error
0
0
69
input() x = [map(int, input().split(''))] print(min(x),max(x),sum(x))
Traceback (most recent call last): File "/tmp/tmpiv6e8ucg/tmp_dn9n12q.py", line 1, in <module> input() EOFError: EOF when reading a line
s383880277
p02402
u467070262
1501603765
Python
Python3
py
Runtime Error
0
0
205
n = int(input()) min = 1000000 max = -1000000 sum = 0 for i in range(n): x = int(input()) if x < min: min = x if x > max: max = x sum += x print("%d %d %d", % (min,max,sum))
File "/tmp/tmp_rdovse5/tmppc6etp1v.py", line 12 print("%d %d %d", % (min,max,sum)) ^ SyntaxError: invalid syntax
s882110073
p02402
u467070262
1501603805
Python
Python3
py
Runtime Error
0
0
223
n = int(input().rstrip()) min = 1000000 max = -1000000 sum = 0 for i in range(n): x = int(input().rstrip()) if x < min: min = x if x > max: max = x sum += x print("%d %d %d", % (min,max,sum))
File "/tmp/tmp0lwu3qet/tmpfe_1ircb.py", line 12 print("%d %d %d", % (min,max,sum)) ^ SyntaxError: invalid syntax
s419415185
p02402
u283452598
1503046471
Python
Python3
py
Runtime Error
0
0
115
first=input() hantei=list(map(int,input().split())) print("{0} {1} {2}".format(min(hantei),max(hantei),sum(hantei))
File "/tmp/tmpubw2ud38/tmpkakn4och.py", line 3 print("{0} {1} {2}".format(min(hantei),max(hantei),sum(hantei)) ^ SyntaxError: '(' was never closed
s832995262
p02402
u105694406
1503778093
Python
Python3
py
Runtime Error
0
0
190
n = int(input()) first = int(input()) min = first max = first sum = first for i in range(n-1): x = int(input()) if x > max: max = x if x < min: min = x sum += x print(min, max, sum)
Traceback (most recent call last): File "/tmp/tmp3_a0mvsw/tmp6jh6cf2r.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s029243721
p02402
u450020188
1503828012
Python
Python3
py
Runtime Error
0
0
121
x = [int(i) for i in input().split()] n = x[0] x.pop(0) print(x) M = max(x) m = min(x) s = sum(x) print(m," ",M," ",s)
Traceback (most recent call last): File "/tmp/tmpyp7lzpdz/tmpz13w7266.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s996154705
p02402
u450020188
1503828037
Python
Python3
py
Runtime Error
0
0
113
x = [int(i) for i in input().split()] n = x[0] x.pop(0) print(x) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmpczb0p676/tmpxm3wy__l.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s275058768
p02402
u450020188
1503828051
Python
Python3
py
Runtime Error
0
0
113
x = [int(i) for i in input().split()] n = x[0] x.pop(0) print(x) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmp27g5yy16/tmpow_ocw3j.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s919496487
p02402
u450020188
1503828060
Python
Python3
py
Runtime Error
0
0
103
x = [int(i) for i in input().split()] n = x[0] x.pop(0) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmpcxd9z4js/tmpraqr59up.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s385838351
p02402
u450020188
1503828084
Python
Python3
py
Runtime Error
0
0
94
x = [int(i) for i in input().split()] x.pop(0) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmpb8cungn5/tmpzbz_8a3g.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s473132045
p02402
u450020188
1503828121
Python
Python3
py
Runtime Error
0
0
94
x = [int(i) for i in input().split()] x.pop(0) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmprcux_bp_/tmppik_qxr3.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s027587113
p02402
u450020188
1503828282
Python
Python3
py
Runtime Error
0
0
94
x = [int(i) for i in input().split()] x.pop(0) M = max(x) m = min(x) s = sum(x) print(m,M,s)
Traceback (most recent call last): File "/tmp/tmp54xn4v25/tmpfjylohu7.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s804956717
p02402
u450020188
1503828440
Python
Python3
py
Runtime Error
0
0
116
x = [int(i) for i in input().split()] x.pop(0) M = max(x) m = min(x) s = sum(x) print("{0} {1} {2}".format(m,M,s))
Traceback (most recent call last): File "/tmp/tmp86qs74w2/tmpj5z8sbqo.py", line 1, in <module> x = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s924362122
p02402
u394759916
1504847954
Python
Python
py
Runtime Error
0
0
136
n=int(input("n個の整数n= ")) total=0 lis=list(map(int,input().split())) print(lis) print(min(lis),max(lis),sum(lis))
File "/tmp/tmp9dnm1rcy/tmpjvpcd_08.py", line 2 total=0 IndentationError: unexpected indent
s855525727
p02402
u394759916
1504847994
Python
Python3
py
Runtime Error
0
0
136
n=int(input("n個の整数n= ")) total=0 lis=list(map(int,input().split())) print(lis) print(min(lis),max(lis),sum(lis))
File "/tmp/tmpkvq89l5g/tmpow4wdn46.py", line 2 total=0 IndentationError: unexpected indent
s495798336
p02402
u394759916
1504848073
Python
Python3
py
Runtime Error
0
0
106
n=int(input(" ")) lis=list(map(int,input().split())) print(lis) print(min(lis),max(lis),sum(lis))
File "/tmp/tmp94bsikrv/tmpxactsfhf.py", line 2 lis=list(map(int,input().split())) IndentationError: unexpected indent
s751627182
p02402
u394759916
1504848165
Python
Python3
py
Runtime Error
0
0
92
n=int(input(" ")) lis=list(map(int,input().split())) print(min(lis),max(lis),sum(lis))
File "/tmp/tmpqv6wkmq8/tmp8xszm8vz.py", line 2 lis=list(map(int,input().split())) IndentationError: unexpected indent
s981856381
p02402
u394759916
1504848240
Python
Python3
py
Runtime Error
0
0
111
n=int(input("n個の整数n= ")) lis=list(map(int,input().split())) print(min(lis),max(lis),sum(lis)," ")
File "/tmp/tmpxbxkbzym/tmpb5xzhfj5.py", line 2 lis=list(map(int,input().split())) IndentationError: unexpected indent
s074449587
p02402
u394759916
1504848299
Python
Python3
py
Runtime Error
0
0
84
input() lis=list(map(int,input().split())) print(min(lis),max(lis),sum(lis)," ")
File "/tmp/tmpeph8qpwx/tmpenfve_ax.py", line 2 lis=list(map(int,input().split())) IndentationError: unexpected indent
s747426911
p02402
u933096856
1505005806
Python
Python3
py
Runtime Error
0
0
72
n=int(input()) a=map(int, input().split()) print(min(a), max(a), sum(a))
Traceback (most recent call last): File "/tmp/tmp9jkep3gk/tmpme2cuie0.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s824235886
p02402
u933096856
1505005848
Python
Python3
py
Runtime Error
0
0
84
import math n=int(input()) a=map(int, input().split()) print(min(a), max(a), sum(a))
Traceback (most recent call last): File "/tmp/tmpe4m5utwa/tmpoh68jv6l.py", line 2, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s435684083
p02402
u186282999
1506146940
Python
Python3
py
Runtime Error
0
0
862
# # my_value_list = [] # # while True: # try: # my_value_list.append(input().split()) # except EOFError: # break # # for i in range(0, len(my_value_list)): # if my_value_list[i][1] == "+": # print(int(my_value_list[i][0]) + int(my_value_list[i][2])) # elif my_value_list[i][1] == ...
Traceback (most recent call last): File "/tmp/tmpxeqodqvg/tmp07b5y7xv.py", line 22, in <module> my_value = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s691566426
p02402
u664228906
1506389016
Python
Python3
py
Runtime Error
0
0
121
n = int(input()) a = input().split() for i in range(n) a[i] = int(a[i]) print("{} {} {}".format(min(a), max(a), sum(a))
File "/tmp/tmpvutn6sfg/tmp75y611k5.py", line 3 for i in range(n) ^ SyntaxError: expected ':'
s751439696
p02402
u664228906
1506389041
Python
Python3
py
Runtime Error
0
0
122
n = int(input()) a = input().split() for i in range(n) a[i] = int(a[i]) print("{} {} {}".format(min(a), max(a), sum(a)))
File "/tmp/tmp2zmdss9d/tmptb317326.py", line 3 for i in range(n) ^ SyntaxError: expected ':'
s739838204
p02402
u936401118
1506907335
Python
Python3
py
Runtime Error
0
0
105
num = int(input()) array = [int(input()) for i in range(num)] print (min(array), max(array), sum(array))
Traceback (most recent call last): File "/tmp/tmp2jbgwg43/tmpoigjwkkx.py", line 1, in <module> num = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s234180870
p02402
u505411588
1508469962
Python
Python3
py
Runtime Error
0
0
156
n = int(input()) i = 0 x = map(int, input().split()) mx = max(x) mn = min(x) sum = 0 while i < n: sum = sum + x[i] i += 1 print(mn, mx, sum)
Traceback (most recent call last): File "/tmp/tmpukacgrsj/tmptvl0l4sv.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s491101797
p02402
u650071126
1509067857
Python
Python3
py
Runtime Error
0
0
233
n = input() integer = list(map(int, input().split())) min = integer[0] max = integer[0] sum = 0 for i in range(len(integer)): if max<i: max = i if i < min: min = i sum += i print(min+" "+ max +" "+ sum)
Traceback (most recent call last): File "/tmp/tmpg6tvx348/tmp41kx1av7.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s061959743
p02402
u650071126
1509067920
Python
Python3
py
Runtime Error
0
0
233
n = input() integer = list(map(int, input().split())) min = integer[0] max = integer[0] sum = 0 for i in range(len(integer)): if max<i: max = i if i < min: min = i sum += i print(min+" "+ max +" "+ sum)
Traceback (most recent call last): File "/tmp/tmp8bqvyibj/tmpbvpm56b3.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s565833569
p02402
u846136461
1509525066
Python
Python
py
Runtime Error
0
0
228
n = int(raw_input()) data = raw_input().split(" ") sorted_data = data.sort() minimum = sorted_data[0] maximum = sorted_data[-1] goukei = 0 for i in range(n): goukei += i print("{:} {:} {:}".format(minimum, maximum, goukei))
Traceback (most recent call last): File "/tmp/tmpr65nn0ax/tmpqsf20a8c.py", line 1, in <module> n = int(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s426509149
p02402
u846136461
1509525304
Python
Python
py
Runtime Error
0
0
225
n = int(raw_input()) data = raw_input().split(" ") sorted_data = sorted(data) minimum = sorted_data[0] maximum = sorted_data[-1] goukei = 0 for i in data: goukei += i print("{:} {:} {:}".format(minimum, maximum, goukei))
Traceback (most recent call last): File "/tmp/tmp8iauz_ye/tmp5n_b236p.py", line 1, in <module> n = int(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s297230599
p02402
u846136461
1509525549
Python
Python
py
Runtime Error
0
0
240
n = int(raw_input()) data = raw_input().split(" ") minimum = 1000001 maximum = 0 goukei = 0 for i in data: if i < minimum: minimum = i if i > maximum: maximum = i goukei += i print("{:} {:} {:}".format(minimum, maximum, goukei))
Traceback (most recent call last): File "/tmp/tmpn1bgvxn0/tmp7famomjp.py", line 1, in <module> n = int(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s536392489
p02402
u846136461
1509525686
Python
Python
py
Runtime Error
0
0
260
n = raw_input() data = raw_input().split(" ") #data = [10, 1, 5, 4, 17] minimum = 1000001 maximum = 0 goukei = 0 for i in data: if i < minimum: minimum = i if i > maximum: maximum = i goukei += i print("{:} {:} {:}".format(minimum, maximum, goukei))
Traceback (most recent call last): File "/tmp/tmp6gogzll4/tmpsly4_xu5.py", line 1, in <module> n = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s308512177
p02402
u043968625
1509543640
Python
Python3
py
Runtime Error
0
0
288
flag =0 while flag==0: a,b,c=[ i for i in input().split()] if b=="?": flag=1 break elif b=="+": n=int(a)+int(c) elif b=="-": n=int(a)-int(c) elif b=="*": n=int(a)*int(c) elif b=="/": n=int(a)/int(c) print(int(n))
Traceback (most recent call last): File "/tmp/tmpylmxpwt8/tmpq0wrzong.py", line 3, in <module> a,b,c=[ i for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s320326764
p02402
u518939641
1509973874
Python
Python3
py
Runtime Error
0
0
89
n=int(input()) l=list(map(int,input().split())) print('%d %d %d'%(min(l), max(l), sum(l))
File "/tmp/tmpvdn3ka49/tmpmavwkh9w.py", line 3 print('%d %d %d'%(min(l), max(l), sum(l)) ^ SyntaxError: '(' was never closed
s212602047
p02402
u825994660
1510460855
Python
Python3
py
Runtime Error
0
0
162
import sys x = sys.stdin.readlines() a = list(x[1].strip()) min_num = min(a) max_num = max(a) sum_num = sum(a) print("{} {} {}".format(min_num, max_num, sum_num))
Traceback (most recent call last): File "/tmp/tmpylq6plmm/tmp8v6iuh8n.py", line 3, in <module> a = list(x[1].strip()) ~^^^ IndexError: list index out of range
s356320218
p02402
u825994660
1510460926
Python
Python3
py
Runtime Error
0
0
172
import sys x = sys.stdin.readlines() a = list(map(int, x[1].strip())) min_num = min(a) max_num = max(a) sum_num = sum(a) print("{} {} {}".format(min_num, max_num, sum_num))
Traceback (most recent call last): File "/tmp/tmpsu7833i_/tmpd783k64g.py", line 3, in <module> a = list(map(int, x[1].strip())) ~^^^ IndexError: list index out of range
s541089294
p02402
u825994660
1510461065
Python
Python3
py
Runtime Error
0
0
184
import sys x = sys.stdin.readlines() line = x[1] a = list(map(int, line.strip())) min_num = min(a) max_num = max(a) sum_num = sum(a) print("{} {} {}".format(min_num, max_num, sum_num))
Traceback (most recent call last): File "/tmp/tmpmd27buiw/tmpdrmhczec.py", line 3, in <module> line = x[1] ~^^^ IndexError: list index out of range
s826201030
p02402
u825994660
1510461308
Python
Python3
py
Runtime Error
0
0
145
input() A = list(map(int, input().split()) min_num = min(A) max_num = max(A) sum_num = sum(A) print("{} {} {}".format(min_num, max_num, sum_num))
File "/tmp/tmpgfg8d4bs/tmpz3csfvfm.py", line 2 A = list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s737523225
p02402
u825994660
1510461342
Python
Python3
py
Runtime Error
0
0
70
input() A = list(map(int, input().split()) print(min(A),max(A),sum(A))
File "/tmp/tmpcdt_f7d_/tmprvjlnlej.py", line 2 A = list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s862862934
p02402
u825994660
1510461372
Python
Python3
py
Runtime Error
0
0
70
input() A = list(map(int, input().split()) print(min(A),max(A),sum(A))
File "/tmp/tmpzhbkjw14/tmpvco3ml2h.py", line 2 A = list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s877848745
p02402
u825994660
1510461849
Python
Python3
py
Runtime Error
0
0
101
import numpy as np input() A = np.array([map(int, input().split())]) print(A.min() ,A.max() ,A.sum())
Traceback (most recent call last): File "/tmp/tmpldiq0x2k/tmpstloac39.py", line 2, in <module> input() EOFError: EOF when reading a line
s351830829
p02402
u825994660
1510461891
Python
Python3
py
Runtime Error
0
0
105
import numpy as np input() A = np.array(map(list(int, input().split()))) print(A.min() ,A.max() ,A.sum())
Traceback (most recent call last): File "/tmp/tmpdjls8zky/tmpr5gkt05d.py", line 2, in <module> input() EOFError: EOF when reading a line
s898162733
p02402
u150984829
1513080647
Python
Python3
py
Runtime Error
0
0
62
input() i=input().split() print(f'{min(i)} {max(i)} {sum(i)}')
Traceback (most recent call last): File "/tmp/tmpgm6nmziw/tmpfdwhzcp5.py", line 1, in <module> input() EOFError: EOF when reading a line
s037964700
p02402
u150984829
1513080669
Python
Python3
py
Runtime Error
0
0
71
input() i=map(int,input().split()) print(f'{min(i)} {max(i)} {sum(i)}')
Traceback (most recent call last): File "/tmp/tmpfzvsgd8c/tmpvyaunaih.py", line 1, in <module> input() EOFError: EOF when reading a line
s996986755
p02402
u150984829
1513098427
Python
Python3
py
Runtime Error
0
0
72
input() b=[int(a) for a in input().split()] print(min(b),max(b),sum(b)')
File "/tmp/tmp_7xgqlbq/tmpa8x6a671.py", line 3 print(min(b),max(b),sum(b)') ^ SyntaxError: unterminated string literal (detected at line 3)
s966900273
p02402
u737311644
1515124007
Python
Python3
py
Runtime Error
0
0
132
n=int(input()) ns=input().split() for i in range(len(ns)): ns[i]=int(ns[i]) a=sum(ns) i=min(ns) u=max(ns) print(amin,amax,asum)
Traceback (most recent call last): File "/tmp/tmp6vl5x32l/tmpan4__115.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s227796707
p02402
u426534722
1515594328
Python
Python3
py
Runtime Error
0
0
72
input() li = map(int, input().split()) print(min(li), max(li), sum(li))
Traceback (most recent call last): File "/tmp/tmpb7f6j_qb/tmpiqctdb3b.py", line 1, in <module> input() EOFError: EOF when reading a line