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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s856101317 | p02402 | u267728784 | 1516105596 | Python | Python | py | Runtime Error | 0 | 0 | 253 | n = int(input())
line = list(map(int, input().split()))
max = line[0]
min = line[0]
sum = line[0]
for i in range(1, n):
if max < line[i]:
max = line[i]
elif min > line[i]:
min = line[i]
sum += line[i]
print(min, max, sum)
| Traceback (most recent call last):
File "/tmp/tmps2zuj1by/tmpxxk5_8wt.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s250712596 | p02402 | u387731924 | 1516717773 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | n = int(input())
nums = input().split()
print(min(nums), max(nums), sum(sums))
| Traceback (most recent call last):
File "/tmp/tmp7d9gsj4h/tmpw9q_mo5a.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s086626451 | p02402 | u387731924 | 1516718670 | Python | Python3 | py | Runtime Error | 0 | 0 | 290 | n = int(input())
nums = input().split()
su = 0
ma = -1000000
mi = 1000000
for v in range(n):
num = int(nums[v])
print(num)
if num > ma:
ma = num
print('max is',ma)
if num < mi:
mi = num
print('min is',mi)
su += num
print(mi, ma, su)
}
| File "/tmp/tmpaj7s5rwn/tmprb9j3peo.py", line 20
}
^
SyntaxError: unmatched '}'
| |
s629550579 | p02402 | u640809202 | 1517731944 | Python | Python3 | py | Runtime Error | 0 | 0 | 49 | l=input().split()
print(min(l), max(l), sum(l))
| Traceback (most recent call last):
File "/tmp/tmp_3smuwfm/tmpayl78rtf.py", line 1, in <module>
l=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s122353594 | p02402 | u640809202 | 1517732123 | Python | Python3 | py | Runtime Error | 0 | 0 | 63 | l=list(map(int, input().split())
print(min(l), max(l), sum(l))
| File "/tmp/tmpkhr9cota/tmpugu4qy97.py", line 1
l=list(map(int, input().split())
^
SyntaxError: '(' was never closed
| |
s464045516 | p02402 | u640809202 | 1517746838 | Python | Python3 | py | Runtime Error | 0 | 0 | 71 | input()
l=list(map(int, input().split())
print(min(l), max(l), sum(l))
| File "/tmp/tmp04xmsxwh/tmpov2hhgir.py", line 2
l=list(map(int, input().split())
^
SyntaxError: '(' was never closed
| |
s275743567 | p02402 | u442426662 | 1518111841 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | s=0
a=[]
for _ in range(int(input())):
a.append(int(input()))
s+=a[_]
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpef5gz6fi/tmp2838jpcx.py", line 3, in <module>
for _ in range(int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s129330884 | p02402 | u442426662 | 1518111866 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | s=0
a=[]
for _ in range(int(input())):
a.append(int(input()))
s+=a[_]
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpcwfff1rs/tmp2lv11hq1.py", line 3, in <module>
for _ in range(int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s623860184 | p02402 | u442426662 | 1518112117 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | input()
s = 0
a = list(map(int,input().split()))
for u in a:
s=s+a
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmp3sgg0boz/tmpch6koe19.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s729981906 | p02402 | u442426662 | 1518112460 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | input()
s = 0
a = input()
a = a.split(" ")
for u in a:
s=s+int(a)
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmp61x5u_4o/tmph39fpeef.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s615040076 | p02402 | u442426662 | 1518112481 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | s=input()
s = 0
a = input()
a = a.split(" ")
for u in a:
s=s+int(a)
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpo__w_zfv/tmpdsw1pmej.py", line 1, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s708427927 | p02402 | u442426662 | 1518112568 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 |
input()
s = 0
a = input()
a = a.split(" ")
for u in a:
s=s+int(a)
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmp7rmett72/tmp_s65u0uo.py", line 2, in <module>
input()
EOFError: EOF when reading a line
| |
s579609055 | p02402 | u442426662 | 1518112659 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 |
input()
s = 0
a = input()
a = a.split(" ")
for u in a:
s=s+int(a)
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpndfclkpm/tmp3j6063rx.py", line 2, in <module>
input()
EOFError: EOF when reading a line
| |
s139469016 | p02402 | u442426662 | 1518112951 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | input()
s = 0
a = input()
a = map(int,a.split(" "))
for u in a:
s=s+u
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpc8bvn4ey/tmpuoxfed8q.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s796019112 | p02402 | u442426662 | 1518112973 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | input()
s = 0
a = input()
a = a.split(" ")
a = map(int,a)
for u in a:
s=s+u
print(min(a),max(a),s)
| Traceback (most recent call last):
File "/tmp/tmpfccrq2rb/tmp1du4zxg_.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s488322283 | p02402 | u442426662 | 1518112990 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | input()
s = 0
a = input()
a = a.split(" ")
b = map(int,a)
for u in b:
s=s+u
print(min(b),max(b),s)
| Traceback (most recent call last):
File "/tmp/tmpmzv6rna_/tmpn89vxo6r.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s664718132 | p02402 | u442426662 | 1518113049 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | input()
s = 0
a = input()
b = a.split(" ")
c = map(int,b)
for u in c:
s=s+u
print(min(c),max(c),s)
| Traceback (most recent call last):
File "/tmp/tmpkqkn7zrf/tmpt3fumcqj.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s914829020 | p02402 | u442426662 | 1518113113 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
c.append(int(b[i])
for u in c:
s=s+u
print(min(c),max(c),s)
| File "/tmp/tmpr7tpq6jo/tmpvx7y8c9b.py", line 7
c.append(int(b[i])
^
SyntaxError: '(' was never closed
| |
s915643646 | p02402 | u442426662 | 1518113122 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
c.append(int(b[i]))
for u in c:
s=s+u
print(min(c),max(c),s)
| Traceback (most recent call last):
File "/tmp/tmp4s720rjv/tmpfltzy_d3.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s209299371 | p02402 | u442426662 | 1518113224 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
c.append(int(b[i]))
for u in c:
s=s+u
print(min(c),max(c),s)
| Traceback (most recent call last):
File "/tmp/tmp03b63jjv/tmpp5__gmzv.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s741075356 | p02402 | u553148578 | 1519731461 | Python | Python | py | Runtime Error | 0 | 0 | 78 | input()
A=list([int(i) for i in input().split()])
print(min(A),max(A),sum(A))
| Traceback (most recent call last):
File "/tmp/tmpyn2mtxon/tmpbhu0t9_j.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s902647188 | p02402 | u178477792 | 1521598223 | Python | Python3 | py | Runtime Error | 0 | 0 | 302 | n = int(input())
nums = list(map(int, input().split(" ")))
maxnum = -1000000
minnum = 1000000
total = 0
for item in nums:
if maxnum < item:
maxnum = item
elif minnum > item:
minnum = item
else:
for item in nums:
total += item
print(str(minnum) + " " + str(maxnum) + " " + str(total))
| File "/tmp/tmpw34yp9_4/tmpl8k9s0p6.py", line 16
for item in nums:
IndentationError: expected an indented block after 'else' statement on line 13
| |
s954048232 | p02402 | u229478139 | 1522193429 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | FirstLine = input()
myList = list([int(i) for i in input().split()])
print(min(A),max(A),sum(A))
| Traceback (most recent call last):
File "/tmp/tmp_4l9t3s6/tmpd2927wu6.py", line 1, in <module>
FirstLine = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s995343326 | p02402 | u621084859 | 1522634978 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | n=int(input())
for i in range(n):
n[1]=n[i]
s=sum(n)
m=min(n)
ma=max(n)
print(m,ma,s)
| Traceback (most recent call last):
File "/tmp/tmph8hchvks/tmpibche8ec.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s139930113 | p02402 | u621084859 | 1522635005 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | n=int(input())
for i in range(n):
n[1]=n[i]
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)
| File "/tmp/tmpcoy0gsyc/tmpe_7ng9ak.py", line 7
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s946206798 | p02402 | u621084859 | 1522635062 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | n=int(input())
n=input().split()
for i in range(n):
n[1]=n[i]
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)
| File "/tmp/tmp42zzk5y4/tmpcb2gza1y.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s513480265 | p02402 | u621084859 | 1522635175 | Python | Python3 | py | Runtime Error | 0 | 0 | 129 | n=int(input())
n=input().split()
for i in range(len(n)):
n[1]=int(n[i])
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)
| File "/tmp/tmp_4v7jlma/tmpcvtuqszd.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s508615342 | p02402 | u621084859 | 1522635327 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | n=int(input())
n=input().split()
for i in range(len(n)):
n[1]=int(n[i])
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)
| File "/tmp/tmp19o7__7s/tmpgo9b4ute.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s763773559 | p02402 | u621084859 | 1522635351 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | n=int(input())
n=input().split()
for i in range(len(n)):
n[i]=int(n[i])
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)
| File "/tmp/tmp2fw8n500/tmpohyxt807.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s217617546 | p02402 | u621084859 | 1522635690 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | n=int(input())
r=input().split()
for i in range(r):
r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)
| File "/tmp/tmpc0saz4ec/tmptsa_77tg.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s893798391 | p02402 | u621084859 | 1522635720 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | n=int(input())
r=input().split()
for i in range(r):
r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)
| File "/tmp/tmplnubdt3k/tmpinzreksx.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s813927305 | p02402 | u621084859 | 1522635741 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | n=int(input())
r=input().split()
for i in range(r):
r[i]=r[i]
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)
| File "/tmp/tmp8hwz6it8/tmpmo0axsob.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s516196950 | p02402 | u621084859 | 1522635777 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | n=int(input())
r=input().split()
for i in range(len(r)):
r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)
| File "/tmp/tmp0zptsskl/tmptvey0nii.py", line 8
print(m ma s)
^^
SyntaxError: invalid syntax
| |
s519956177 | p02402 | u742505495 | 1524026104 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | n = int(input())
a = list(map(int,input().split()))
a.sorted()
ans = 0
for i in range(len(a)):
ans += a[i]
print("%d %d %d" % a[0],a[len(a)-1],ans)
| Traceback (most recent call last):
File "/tmp/tmpfv6fngcx/tmpmksithjk.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s137623669 | p02402 | u742505495 | 1524026125 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | n = int(input())
a = list(map(int,input().split()))
a.sort()
ans = 0
for i in range(len(a)):
ans += a[i]
print("%d %d %d" % a[0],a[len(a)-1],ans)
| Traceback (most recent call last):
File "/tmp/tmpaqz4amq_/tmpwmibxw_j.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s185045454 | p02402 | u059121893 | 1524327635 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | LEN = int(input())
mem = []
for i in range(0,LEN):
mem.append(int(input()))
LEN-=1
if LEN == 0:
break
print('%d %d %d',min(mem),max(mem),sum(mem))
| Traceback (most recent call last):
File "/tmp/tmpr2mngia1/tmph_ma294d.py", line 1, in <module>
LEN = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s653734131 | p02402 | u059121893 | 1524327809 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | LEN = int(input())
mem = []
for i in range(0,LEN):
mem.append(int(input()))
LEN-=1
if LEN == 0:
break
print(min(mem),max(mem),sum(mem))
| Traceback (most recent call last):
File "/tmp/tmp_7dawxua/tmpuo9loy3m.py", line 1, in <module>
LEN = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s381918597 | p02402 | u648117624 | 1524399887 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | input()
a = map(int, input().split())
sum = 0
for x in a:
sum += x
print(min(a), max(a), sum)
| Traceback (most recent call last):
File "/tmp/tmplcsxfeep/tmpzvpx0p7x.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s972731381 | p02402 | u485986915 | 1524476840 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | import numpy as np
x = map(int,input().split())
x.sort()
sum = np.sum(x)
print('%s %s %s'%(max(x),min(x),sum))
| Traceback (most recent call last):
File "/tmp/tmpznsi29t0/tmp6me09mpk.py", line 3, in <module>
x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s361757529 | p02402 | u485986915 | 1524476919 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | import numpy as np
x = list(map(int,input().split()))
x.sort()
sum = np.sum(x)
print('%s %s %s'%(max(x),min(x),sum))
| Traceback (most recent call last):
File "/tmp/tmpz5wz6o9w/tmpp2___622.py", line 3, in <module>
x = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s727796891 | p02402 | u074747865 | 1524556512 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | input()
li=list(map(int,input().split()))
for i in li:
sum+=li[i]
print(min(li),max(li),sum)
| Traceback (most recent call last):
File "/tmp/tmpyl6au16y/tmpzqh0jyid.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s744938153 | p02402 | u074747865 | 1524556533 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | input()
li=list(map(int,input().split()))
for i in li:
sum+=li
print(min(li),max(li),sum)
| Traceback (most recent call last):
File "/tmp/tmp6gu15j9u/tmpc62paadt.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s635248995 | p02402 | u074747865 | 1524556578 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | input()
li=list(map(int,input().split()))
for i in li:
sum+=i
print(min(li),max(li),sum)
| Traceback (most recent call last):
File "/tmp/tmpmvh7s7mx/tmp697n6kfg.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s335655891 | p02402 | u648117624 | 1524566416 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | input()
a = list(map(int, input().split())
sum = 0
for x in a:
sum += x
print(min(a), max(a), sum)
| File "/tmp/tmp127esw9n/tmp7v_dwb7m.py", line 3
a = list(map(int, input().split())
^
SyntaxError: '(' was never closed
| |
s673796104 | p02402 | u729486845 | 1524669173 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | n1 = input()
n2 = map(int, input().split())
i = 0
while n2.length > i:
s += n2[i]
i += 1
n2.sort()
print("{} {} {}".format(n2[0], n2[-1], s))
| Traceback (most recent call last):
File "/tmp/tmp8y5g9a2f/tmpmbbw6md_.py", line 1, in <module>
n1 = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s532893148 | p02402 | u729486845 | 1524669269 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | n1 = input()
n2 = map(int, input().split())
asum = sum(n2)
amin = min(n2)
amax = max(n2)
print(amin, amax, asum)
| Traceback (most recent call last):
File "/tmp/tmp481r34z_/tmpk04nqys_.py", line 1, in <module>
n1 = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s308521300 | p02402 | u648117624 | 1524987643 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | input()
a = list(map(int, input().split()))
s = 0
for i in len(a):
s += i
print(min(a), max(a), s)
| Traceback (most recent call last):
File "/tmp/tmpk3cxgkbs/tmp0962tz73.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s130438338 | p02402 | u648117624 | 1524987674 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | input()
a = list(map(int, input().split()))
s = 0
for i in len(a):
s = s + i
print(min(a), max(a), s)
| Traceback (most recent call last):
File "/tmp/tmpaw6ybufu/tmpkvdhcvjf.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s722199576 | p02402 | u781194524 | 1525245787 | Python | Python3 | py | Runtime Error | 0 | 0 | 200 | n = input()
max = 0
min = 0
sum = 0
for i in range(1,n+1):
a[i]=[int(x) for x in input().split()]
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
sum += a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp8agn4yrf/tmpkllkr43a.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s180215317 | p02402 | u781194524 | 1525245821 | Python | Python3 | py | Runtime Error | 0 | 0 | 200 | n = input()
max = 0
min = 0
sum = 0
for i in range(1,n+1):
a[i]=[int(x) for x in input().split()]
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
sum += a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmpnzxcl6r0/tmpczlsu6de.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s298176234 | p02402 | u781194524 | 1525245977 | Python | Python3 | py | Runtime Error | 0 | 0 | 197 | n = input()
max = 0
min = 0
sum = 0
for i in range(1,n+1):
a=[int(x) for x in input().split()]
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
sum += a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp84b7hzd0/tmp9xtkcdzk.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s591079690 | p02402 | u781194524 | 1525246045 | Python | Python3 | py | Runtime Error | 0 | 0 | 194 | n = input()
max = 0
min = 0
sum = 0
a=[int(x) for x in input().split()]
for i in range(1,n+1):
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
sum += a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp0d3xhl1l/tmplrle1uj7.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s726002808 | p02402 | u781194524 | 1525246443 | Python | Python3 | py | Runtime Error | 0 | 0 | 189 | n = input()
max = 0
min = 0
sum = 0
a=[int(x) for x in input().split()]
for i in range(n):
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
sum += a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp9kiow0yp/tmpe1kropjd.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s628357129 | p02402 | u781194524 | 1525246963 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | n = int(input())
max = -100000000
min = 1000000000
sum = 0
a= input().split()
for i in range(0,n):
sum += a[i]
if a[i] >= max: max = a[i]
if a[i] <= min: min = a[i]
print(str(min),str(max),str(sum))
| Traceback (most recent call last):
File "/tmp/tmp0_p0e_dx/tmpoyyaot4w.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s200041223 | p02402 | u781194524 | 1525247011 | Python | Python3 | py | Runtime Error | 0 | 0 | 207 | n = int(input())
max = -100000000
min = 1000000000
sum = 0
a= input().split()
for i in range(0,n):
sum += a[i]
if int(a[i]) >= max: max = a[i]
if int(a[i]) <= min: min = a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp_f9jn2zm/tmpkl3vmbfu.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s716877551 | p02402 | u781194524 | 1525247030 | Python | Python3 | py | Runtime Error | 0 | 0 | 298 | n = int(input())
a = input().split()
max = -1000000
min = 1000000
sum = 0
for i in range(0,n):
sum = sum + int(a[i])
if int(a[i]) > max:
max = int(a[i])
if int(a[i]) < min:
min = int(a[i])
print(str(min) + " " + str(max) + " " + str(sum))
| File "/tmp/tmpsq9vs6xq/tmpa34p6oge.py", line 7
sum = sum + int(a[i])
^
SyntaxError: invalid non-printable character U+00A0
| |
s724352036 | p02402 | u781194524 | 1525247138 | Python | Python3 | py | Runtime Error | 0 | 0 | 197 | n = int(input())
max = -10000000
min = 100000000
sum = 0
a = input().split()
for i in range(0,n):
sum += a[i]
if int(a[i]) >= max: max = a[i]
if int(a[i]) <= min: min = a[i]
print(min,max,sum)
| Traceback (most recent call last):
File "/tmp/tmp1l1efhqa/tmp78hz50fo.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s532900115 | p02402 | u592529978 | 1525329226 | Python | Python | py | Runtime Error | 0 | 0 | 83 | n = int raw_input()
a = map(int, raw_input().split())
print min(a), max(a), sum(a)
| File "/tmp/tmpafhunzhp/tmplchcc2wr.py", line 1
n = int raw_input()
^^^^^^^^^
SyntaxError: invalid syntax
| |
s563803464 | p02402 | u592529978 | 1525329420 | Python | Python | py | Runtime Error | 0 | 0 | 83 | n = int raw_input()
a = map(int, raw_input().split())
print min(a), max(a), sum(a)
| File "/tmp/tmpdxm6acgr/tmpcsam_mt7.py", line 1
n = int raw_input()
^^^^^^^^^
SyntaxError: invalid syntax
| |
s082843841 | p02402 | u592529978 | 1525329582 | Python | Python | py | Runtime Error | 0 | 0 | 83 | n = int raw_input()
a = map(int, raw_input().split())
print min(a), max(a), sum(a)
| File "/tmp/tmpj45qrlm5/tmpvwyzv95n.py", line 1
n = int raw_input()
^^^^^^^^^
SyntaxError: invalid syntax
| |
s086025766 | p02402 | u007066325 | 1527457751 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | n = int(input())
ns= int(input.spit())
for i in range(n):
asum = sum(ns)
amin = min(ns)
amax = max(ns)
print(amin, amax, asum)
| Traceback (most recent call last):
File "/tmp/tmpnhvtk7wm/tmp5hy7x8xu.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s839570659 | p02402 | u007066325 | 1527457774 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | n = int(input())
ns= int(input.spit())
for i in range(n):
asum = sum(ns)
amin = min(ns)
amax = max(ns)
print(amin, amax, asum)
| Traceback (most recent call last):
File "/tmp/tmpf9reeh4g/tmpri4y_ulu.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s391961500 | p02402 | u007066325 | 1527457900 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | n = int(input())
ns= int(input.spit())
for i in range(n):
ns[i]= int(ns[i])
asum = sum(ns)
amin = min(ns)
amax = max(ns)
print(amin, amax, asum)
| Traceback (most recent call last):
File "/tmp/tmpttc2np88/tmpdbsm37m3.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s265967714 | p02402 | u007066325 | 1527457951 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | n = int(input())
ns= int(input().spit())
for i in range(n):
ns[i]= int(ns[i])
asum = sum(ns)
amin = min(ns)
amax = max(ns)
print(amin, amax, asum))
| File "/tmp/tmpy53wxanu/tmps1w4bpwj.py", line 9
print(amin, amax, asum))
^
SyntaxError: unmatched ')'
| |
s640641439 | p02402 | u007066325 | 1527458006 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | n = int(input())
ns= int(input().spit())
asum = sum(ns)
amin = min(ns)
amax = max(ns)
print(amin, amax, asum)
| Traceback (most recent call last):
File "/tmp/tmpza75j7s6/tmp6qykwfas.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s017774694 | p02402 | u237094818 | 1527607383 | Python | Python | py | Runtime Error | 0 | 0 | 175 | # -*- coding: utf-8
a = map(int,raw_input().split())
k = a[0]
b = sorted(a[1])
min = b[0]
Max = b[k-1]
sum = 0
for i in b:
sum += i
print('%i %i %i' % (min,Max,sum)
| File "/tmp/tmphb12qj60/tmpblndf56p.py", line 15
print('%i %i %i' % (min,Max,sum)
^
SyntaxError: '(' was never closed
| |
s103803626 | p02402 | u237094818 | 1527607630 | Python | Python | py | Runtime Error | 0 | 0 | 174 | # -*- coding: utf-8
k = input()
a = map(int,raw_input().split())
b = sorted(a)
min = b[0]
Max = b[k-1]
sum = 0
for i in b:
sum += i
print('%i %i %i' % (min,Max,sum)
| File "/tmp/tmp6_hpgqn3/tmpqhqf3hh0.py", line 15
print('%i %i %i' % (min,Max,sum)
^
SyntaxError: '(' was never closed
| |
s839688953 | p02402 | u500257793 | 1528000911 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
while i<n:
j=int(input())
if max<j:
max=j
if min>j:
min=j
g+=j
i=i+1
print(mi,max,j)
| Traceback (most recent call last):
File "/tmp/tmp003a9xei/tmpjfyaf7qs.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s181665704 | p02402 | u500257793 | 1528000966 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
while i<n:
j=int(input())
if max<j:
max=j
if min>j:
min=j
g+=j
i=i+1
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmpbmddm9ly/tmp383ccsou.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s945511583 | p02402 | u500257793 | 1528001159 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | n=int(input())
max=-1000001;min=1000001;g=0;
num+=map(int,input().split())
for x in num:
if max<x:
max=x
if min>x:
min=x
g+=x
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmpnr5nv6sz/tmpczu3rtyb.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s235366823 | p02402 | u500257793 | 1528001207 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | n=int(input())
max=-1000001;min=1000001;g=0;
num=[map(int,input().split())]
for x in num:
if max<x:
max=x
if min>x:
min=x
g+=x
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmprooh4j5t/tmp6mdqo8e1.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s871950617 | p02402 | u500257793 | 1528001290 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
num=[]
while i<n:
num.append(int(input()))
i=i+1
for x in num:
if max<x:
max=x
if min>x:
min=x
g+=x
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmpvq25zo3g/tmpis0u18ht.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s561582583 | p02402 | u500257793 | 1528001344 | Python | Python3 | py | Runtime Error | 0 | 0 | 183 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
num=[]
while i<n:
num.append(int(input().split()))
i=i+1
for x in num:
if max<x:
max=x
if min>x:
min=x
g+=x
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmp687xu4nj/tmpdzk44yey.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s094797043 | p02402 | u500257793 | 1528001435 | Python | Python3 | py | Runtime Error | 0 | 0 | 184 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
num=list()
while i<n:
num+=map(int,input().split())
i=i+1
for x in num:
if max<x:
max=x
if min>x:
min=x
g+=x
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmpfao38pb0/tmpoqa4ujbp.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s354502181 | p02402 | u500257793 | 1528001517 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | n=int(input())
max=-1000001;min=1000001;g=0;i=0;
num=list()
while i<n:
j=int(input().split())
if max<j:
max=j
if min>j:
min=j
g+=j
i+=1
print(min,max,g)
| Traceback (most recent call last):
File "/tmp/tmp98uumgl8/tmpe9rwcl0n.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s477541650 | p02402 | u327546577 | 1528137520 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | n = int(input)
a = map(int, input().split())
print(min(a), max(a), sum(a))
| Traceback (most recent call last):
File "/tmp/tmpaqs8da3p/tmp32owrayd.py", line 1, in <module>
n = int(input)
^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
| |
s610106422 | p02402 | u327546577 | 1528137538 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | n = int(input())
a = map(int, input().split())
print(min(a), max(a), sum(a))
| Traceback (most recent call last):
File "/tmp/tmp0f5x8vqh/tmpttyak12i.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s400827825 | p02402 | u847467233 | 1528342292 | Python | Python | py | Runtime Error | 0 | 0 | 307 | # AOJ ITP1_4_D: Min, Max and Sum
# 2018.6.7 bal4u
#
n = input()
data = list(map(int, input().split())) # 1行にある複数の値を整数にして、リストにしまう
#
vmin = min(data) # 最小値
vmax = max(data) # 最大値
vsum = sum(data) # 合計
#
print(vmin, vmax, vsum) # 結果表示
| Traceback (most recent call last):
File "/tmp/tmp_mwlcukf/tmpa_tn4em4.py", line 5, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s244456495 | p02402 | u400765446 | 1529513555 | Python | Python3 | py | Runtime Error | 0 | 0 | 199 | def main():
while True:
numlst = []
numlst = list(map(int, input().split()))
print(min(numlst), max(numlst), sum(numlst))
if __name__ == '__main__':
main()
| Traceback (most recent call last):
File "/tmp/tmp0ix9945f/tmpw974ge8w.py", line 9, in <module>
main()
File "/tmp/tmp0ix9945f/tmpw974ge8w.py", line 4, in main
numlst = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s491230300 | p02402 | u400765446 | 1529513946 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | def main():
n = int(input())
lst = list(map(int, input().split()))
print(min(numlst), max(numlst), sum(numlst))
if __name__ == '__main__':
main()
| Traceback (most recent call last):
File "/tmp/tmpaxh8ey6f/tmpvsnemt_k.py", line 8, in <module>
main()
File "/tmp/tmpaxh8ey6f/tmpvsnemt_k.py", line 2, in main
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s914903900 | p02402 | u726978687 | 1529859107 | Python | Python3 | py | Runtime Error | 0 | 0 | 619 | import math
def solve(input_text):
for line in input_text:
op=line[1]
a=int(line[0])
b=int(line[2])
ans=0
if op=='+':
ans=a+b
if op=='-':
ans=a-b
if op=='*':
ans=a*b
if op == '/':
ans =math.floor... | Traceback (most recent call last):
File "/tmp/tmp5_p03bd5/tmpdx75dxq9.py", line 34, in <module>
answer()
File "/tmp/tmp5_p03bd5/tmpdx75dxq9.py", line 25, in answer
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s086104740 | p02403 | u525366883 | 1535166136 | Python | Python | py | Runtime Error | 0 | 0 | 73 | H, W = map(int, raw_input().split()
for i in range(H):
print "W" * W
| File "/tmp/tmpsfcaciyd/tmptixzbcql.py", line 1
H, W = map(int, raw_input().split()
^
SyntaxError: '(' was never closed
| |
s507655362 | p02403 | u525366883 | 1535166219 | Python | Python | py | Runtime Error | 0 | 0 | 141 | while True:
H, W = map(int, raw_input().split()
if H == W == 0:
break
for i in range(H):
print "W" * W
print
| File "/tmp/tmpywvq_9sz/tmpe5brm59e.py", line 2
H, W = map(int, raw_input().split()
^
SyntaxError: '(' was never closed
| |
s977407622 | p02403 | u525366883 | 1535166271 | Python | Python | py | Runtime Error | 0 | 0 | 141 | while True:
H, W = map(int, raw_input().split()
if H == W == 0:
break
for i in range(H):
print "#" * W
print
| File "/tmp/tmppayjq56r/tmpgk18rt_7.py", line 2
H, W = map(int, raw_input().split()
^
SyntaxError: '(' was never closed
| |
s494214948 | p02403 | u277375424 | 1540301729 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | while True:
H,W = map(int,input().split())
if H == W == 0:
break
for i in range(H):
print(#*W)
print()
| File "/tmp/tmpnqd78zlo/tmpjbxarrsy.py", line 6
print(#*W)
^
SyntaxError: '(' was never closed
| |
s804468568 | p02403 | u281808376 | 1540343495 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | while True:
s=input().split()
t=[int(s) for i in s]
if t[0]==0:
break
else:
for i in range(t[0]):
print("#"*t[1])
|
| File "/tmp/tmp6dwxykov/tmpugevffs1.py", line 9
|
^
SyntaxError: invalid syntax
| |
s737220638 | p02403 | u281808376 | 1540344096 | Python | Python3 | py | Runtime Error | 0 | 0 | 186 | while True:
s=input().split()
t=[int(s) for i in s]
if t[0]==0:
break
else:
for i in range(t[0]):
print("#"*t[1])
print(" ")
| Traceback (most recent call last):
File "/tmp/tmprrb54lzf/tmpzfd7d6v2.py", line 2, in <module>
s=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s067966761 | p02403 | u596993252 | 1541063396 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | while(True):
a,b=map(int,input().split())
for i in range(0,a):
for j in range(0,b):
print("#")
print("\n")
print("\n")
| Traceback (most recent call last):
File "/tmp/tmp2izohbny/tmptzu8kst5.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s152021093 | p02403 | u596993252 | 1541063455 | Python | Python3 | py | Runtime Error | 0 | 0 | 182 | while(True):
a,b=map(int,input().split())
if(a==0 and b==0)
for i in range(0,a):
for j in range(0,b):
print("#")
print("\n")
print("\n")
| File "/tmp/tmpumti6o25/tmpi74ve06y.py", line 3
if(a==0 and b==0)
^
SyntaxError: expected ':'
| |
s912771226 | p02403 | u861678859 | 1541063560 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | i = 0
j = 0
H,W = map(int, input().split())
for i in range(0,H)
for j in range(0,W)
if j =! W:
print("#")
| File "/tmp/tmpo97mxx58/tmpu6yjisxs.py", line 4
for i in range(0,H)
^
SyntaxError: expected ':'
| |
s897408799 | p02403 | u962909487 | 1545839964 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | while True:
H,W = map(int,input(),split())
if (H,W) = (0,0):
break
for i in range(H):
print('#'*W)
print()
| File "/tmp/tmp728__yox/tmp70f_kynj.py", line 3
if (H,W) = (0,0):
^
SyntaxError: invalid syntax
| |
s780510979 | p02403 | u962909487 | 1545840013 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | while True:
H,W = map(int,input(),split())
if (H,W) == (0,0):
break
for i in range(H):
print("#"*W)
print()
| Traceback (most recent call last):
File "/tmp/tmpsktdgc9z/tmpg15nftzw.py", line 2, in <module>
H,W = map(int,input(),split())
^^^^^^^
EOFError: EOF when reading a line
| |
s015800907 | p02403 | u962909487 | 1545840028 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | while True:
H,W = map(int,input(),split())
if H ==0 and W==0:
break
for i in range(H):
print("#"*W)
print()
| Traceback (most recent call last):
File "/tmp/tmp96jnhl33/tmp619qlsfj.py", line 2, in <module>
H,W = map(int,input(),split())
^^^^^^^
EOFError: EOF when reading a line
| |
s728260820 | p02403 | u962909487 | 1545840054 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | while True:
H,W = map(int,input().split())
if (H,W) = 0:
break
for i in range(H):
print("#"*W)
print()
| File "/tmp/tmp0vlrsfvx/tmpdbf0ebjl.py", line 3
if (H,W) = 0:
^
SyntaxError: invalid syntax
| |
s697699251 | p02403 | u962909487 | 1545840058 | Python | Python3 | py | Runtime Error | 0 | 0 | 136 | while True:
H,W = map(int,input().split())
if (H,W) = =0:
break
for i in range(H):
print("#"*W)
print()
| File "/tmp/tmpldecdbm6/tmpkowvugiw.py", line 3
if (H,W) = =0:
^
SyntaxError: invalid syntax
| |
s952132887 | p02403 | u643542669 | 1545876189 | Python | Python3 | py | Runtime Error | 0 | 0 | 192 | h, w = map(int, input().split())
print(h, w)
while h != 0:
for _ in range(h):
for _ in range(w):
sys.stdout.write("#")
print()
h, w = map(int, input().split())
| Traceback (most recent call last):
File "/tmp/tmpdgv9p6qp/tmpkzshocxf.py", line 1, in <module>
h, w = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s526499985 | p02403 | u498462680 | 1546262515 | Python | Python3 | py | Runtime Error | 0 | 0 | 322 | while True:
H,W = [int(i) for i in input().split()]
if H == 0 and W == 0:
break
else:
for j in list(range(1, H+1, 1)):
for i in list(range(1, W+1, 1)):
if i == W:
print("#")
else;
print("#", end = "")
... | File "/tmp/tmp909b2cos/tmp2fms8aak.py", line 10
else;
^
SyntaxError: expected ':'
| |
s476237304 | p02403 | u175224634 | 1551541893 | Python | Python3 | py | Runtime Error | 0 | 0 | 215 | while True:
if a == 0 and b ==0:
break
else:
a, b = map(int, input().split())
for j in range(a):
for i in range(b):
print("#", end="")
print()
| Traceback (most recent call last):
File "/tmp/tmp9ugrwoih/tmpzrz0gy04.py", line 2, in <module>
if a == 0 and b ==0:
^
NameError: name 'a' is not defined
| |
s755079710 | p02403 | u175224634 | 1551542041 | Python | Python3 | py | Runtime Error | 0 | 0 | 197 | i,j = 0
while True:
a, b = map(int, input().split())
if a == 0 and b ==0:
break
for j in range(a+1):
for i in range(b+1):
print("#", end="")
print()
| Traceback (most recent call last):
File "/tmp/tmpe8q96pv9/tmpyokia512.py", line 1, in <module>
i,j = 0
^^^
TypeError: cannot unpack non-iterable int object
| |
s488230912 | p02403 | u733357255 | 1551613343 | Python | Python3 | py | Runtime Error | 0 | 0 | 85 | H,W = int(input().split())
for y in range(0,H):
for x in range(0,W):
print('#')
| Traceback (most recent call last):
File "/tmp/tmp6iosfu7t/tmpb3_4omq3.py", line 1, in <module>
H,W = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.