s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s957163200 | p02402 | u277375424 | 1540287104 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | n = int(input())
table = map(int,input().split())
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n]))))
|
s958766671 | p02402 | u277375424 | 1540287141 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | n = int(input())
table = input().split()
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n]))))
|
s905457206 | p02402 | u277375424 | 1540287180 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | n = int(input())
table = input().split()
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n])))
|
s427967017 | p02402 | u277375424 | 1540287425 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n])))
|
s647890276 | p02402 | u277375424 | 1540287474 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(max(table),min(table),sum(table)))
|
s384249285 | p02402 | u277375424 | 1540287512 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | n = int(input())
table = []
for i in range(n):
table.append(input())
print("{} {} {}".format(max(table),min(table),sum(table)))
|
s405258360 | p02402 | u277375424 | 1540287591 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | n = int(input())
table = []
for i in range(n):
table.append(input())
print("{} {} {}".format(max(table),min(table),sum(table)))
|
s220625910 | p02402 | u277375424 | 1540287847 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s975541601 | p02402 | u277375424 | 1540288294 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | n = int(input())
table = [int.input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s810897714 | p02402 | u277375424 | 1540288301 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s997559379 | p02402 | u277375424 | 1540288322 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | n = int(input())
table = [int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s076337022 | p02402 | u277375424 | 1540299864 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | n = int(input())
table = list[int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s000435781 | p02402 | u277375424 | 1540299880 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | n = int(input())
table = list[for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s103200870 | p02402 | u277375424 | 1540300251 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | n = int(input())
table = list[i for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s890354820 | p02402 | u277375424 | 1540300269 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | n = int(input())
table = list[i for i in n]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s810680054 | p02402 | u277375424 | 1540300283 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | n = int(input())
table = list[i for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s676346701 | p02402 | u277375424 | 1540300462 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s771436784 | p02402 | u277375424 | 1540300502 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | n = int(input())
table = [int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))
|
s109325640 | p02402 | u277375424 | 1540300526 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | n = int(input())
a = [int(input()) for i in range(n)]
print("{} {} {}".format(min(a),max(a),sum(a)))
|
s540643660 | p02402 | u075006557 | 1540459677 | Python | Python3 | py | Runtime Error | 0 | 0 | 208 | max = 0
min = 100000000
ave = 0
x = int(input())
for i in range(0, x):
a = int(input())
if(max < a):
max = a
if(min > a):
min = a
avg += a
print("%d %d %d"%(min, max, ave//x))
|
s329001846 | p02402 | u075006557 | 1540460066 | Python | Python3 | py | Runtime Error | 0 | 0 | 214 | i = 0
max = 0
min = 100000000
ave = 0
x = int(input())
for i in range(0, x):
a = int(input())
if(max < a):
max = a
if(min > a):
min = a
avg += a
print("%d %d %d"%(min, max, ave//x))
|
s996307720 | p02402 | u075006557 | 1540460396 | Python | Python3 | py | Runtime Error | 0 | 0 | 214 | i = 0
max = 0
min = 100000000
ave = 0
x = int(input())
for i in range(0, x):
a = int(input())
if(max < a):
max = a
if(min > a):
min = a
avg += a
print("%d %d %d"%(min, max, ave//x))
|
s835947670 | p02402 | u075006557 | 1540460597 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | x = input())
a = ilist(map(int, input().split())
print("%d %d %d"%(min(a), max(a), sum(a)))
|
s742794419 | p02402 | u075006557 | 1540460605 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | x = input())
a = list(map(int, input().split())
print("%d %d %d"%(min(a), max(a), sum(a)))
|
s393633533 | p02402 | u075006557 | 1540460616 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | x = input())
a = list(map(int, input().split()))
print("%d %d %d"%(min(a), max(a), sum(a)))
|
s282738827 | p02402 | u087493799 | 1540742469 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 |
box = []
n = int(input())
for i in range(1,n-1):
s = int(input())
s.append(box)
print("{0} {1} {2}"format(min(box), max(box), sum(box))
|
s260741203 | p02402 | u087493799 | 1540742990 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | box = []
n = int(input())
i = 1
for i in range(1,n-1):
s = int(input())
s.append(box)
print("{0} {1} {2}"format(min(box), max(box), sum(box))
|
s008674557 | p02402 | u087493799 | 1540743511 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | box = list()
n = int(input())
for i in range(1,n-1):
s = int(input())
s.append(box)
print("{0} {1} {2}"format(min(box), max(box), sum(box))
|
s176146837 | p02402 | u087493799 | 1540743685 | Python | Python3 | py | Runtime Error | 0 | 0 | 166 | box = list()
n = int(input())
i = 1
for i in range(1,n-1):
s = int(input())
box.append(s)
print("{0} {1} {2}"format(min(box), max(box), sum(box))
|
s929878720 | p02402 | u087493799 | 1540744648 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | box = list()
n = int(input())
i = 0
num = 0
for i in range(1,n+1):
num = int(input())
box.append(num)
print("{0} {1} {2}".format(min(box), max(box), sum(box)))
|
s428614670 | p02402 | u087493799 | 1540744698 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | box = list()
n = int(input())
i = 0
s = 0
for i in range(1,n+1):
s = int(input())
box.append(s)
print("{0} {1} {2}".format(min(box), max(box), sum(box)))
|
s852814002 | p02402 | u087493799 | 1540745449 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | box = list()
n = int(input())
i = 0
s = 0
for i in range(1,n+1):
s = int(input())
box.append(s)
print(end ="")
print("{0} {1} {2}".format(min(box), max(box), sum(box)))
|
s665039312 | p02402 | u087493799 | 1540746228 | Python | Python3 | py | Runtime Error | 0 | 0 | 170 | box = list()
n = int(input())
i = 0
s = 0
for i in range(1,n+1):
s = int(input().strip())
box.append(s)
print("{0} {1} {2}".format(min(box), max(box), sum(box)))
|
s665411065 | p02402 | u901205536 | 1540816069 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | n = int(input())
lis = map(int, input()split(" "))
big_num = 1000000
max_num, min_num, sum = -1*big_num, big_num, 0
for i in lis:
if i > max_num:
max_num = i
if i < min_num:
min_num = i
sum += i
print("%d %d %d" % (min_num, max_num, sum))
|
s483920333 | p02402 | u901205536 | 1540816093 | Python | Python3 | py | Runtime Error | 0 | 0 | 273 | n = int(input())
lis = list(map(int, input()split(" ")))
big_num = 1000000
max_num, min_num, sum = -1*big_num, big_num, 0
for i in lis:
if i > max_num:
max_num = i
if i < min_num:
min_num = i
sum += i
print("%d %d %d" % (min_num, max_num, sum))
|
s287259874 | p02402 | u596993252 | 1541062403 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | a=int(input())
max=0
min=10000
sum=0
for i in range(0,a):
b=int(input())
if(max<=b):
max=b
if(min>=b):
min=b
sum+=b;
print("{min} {max} {sum}")
|
s253857099 | p02402 | u861678859 | 1541062712 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | n = int(input())
a = list(map(int, input().split())
print(min(a),max(a),sum(a))
|
s821422364 | p02402 | u035064179 | 1541062735 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | n = int(input())
a = [int(i) for i in input().split]
print(min(a), max(a), sum(a))
|
s285580411 | p02402 | u254455259 | 1545822643 | Python | Python3 | py | Runtime Error | 0 | 0 | 229 | # coding: utf-8
# Your code here!
n=int(input())
sum=0
min=1000001
max=-1000001
for i in range(n)
num=int(input())
sum+=i
if max<i:
max=i
if min>i:
min=i
print(str(min)+" "+str(max)+" "+str(sum))
|
s920092735 | p02402 | u254455259 | 1545822687 | Python | Python3 | py | Runtime Error | 0 | 0 | 230 | # coding: utf-8
# Your code here!
n=int(input())
sum=0
min=1000001
max=-1000001
for i in range(n):
num=int(input())
sum+=i
if max<i:
max=i
if min>i:
min=i
print(str(min)+" "+str(max)+" "+str(sum))
|
s259870672 | p02402 | u643542669 | 1545874916 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | array = map(int,input().split())
del array[0]
print(min(array), max(array), sum(array))
|
s760393510 | p02402 | u643542669 | 1545875010 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | a, b = input().split("\n")
array = map(int,b.split())
del array[0]
print(min(array), max(array), sum(array))
|
s188599190 | p02402 | u643542669 | 1545875060 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | a, b = input().split("\n")
array = list(map(int,b.split()))
del array[0]
print(min(array), max(array), sum(array))
|
s053997608 | p02402 | u643542669 | 1545875220 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | a, b = input().split("\n")
array = list(map(int,b.split()))
print(min(array), max(array), sum(array))
|
s522063072 | p02402 | u643542669 | 1545875234 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | a, b = input().split()
array = list(map(int,b.split()))
print(min(array), max(array), sum(array))
|
s095670237 | p02402 | u643542669 | 1545875402 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | a = input().split("\n")
array = list(map(int, a[1].split()))
print(min(array), max(array), sum(array))
|
s998327323 | p02402 | u643542669 | 1545875560 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | input()
array = list(map(int, a[1].split()))
print(min(array), max(array), sum(array))
|
s191533853 | p02402 | u316246166 | 1545992797 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | a, b = input().split()
table = list(map(int(), b.split()))
print(min(table), average(table), max(table))
|
s307122265 | p02402 | u316246166 | 1545992993 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | n = int(input()
table = list(map(int, input().split()))
print(min(table), max(table), sum(table))
|
s239375019 | p02402 | u316246166 | 1545993098 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | n = int(input()
table = list(map(int, input().split()))
data_max = max(table)
data_min = min(table)
data_sum = sum(table)
print(data_min, data_max, data_sum)
|
s956435350 | p02402 | u550922601 | 1546230410 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | n = int(input())
a = [input() for i in range(n)]
print(min(a), max(a), sum(a))
|
s296639762 | p02402 | u550922601 | 1546230552 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | n = int(input())
a = list[map(int.input().split())]
print(min(a), max(a), sum(a))
|
s884789057 | p02402 | u498462680 | 1546261205 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | Num = int(input())
Indata = [0] * num;
Indata = [int(i) for i in input().split()]
MinVal = min(Indata)
MaxVal = max(Indata)
SumVal = sum(Indata)
print(Minval, MaxVal, SumVal)
|
s428861870 | p02402 | u498462680 | 1546261410 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | Num = int(input())
Indata = [0] * num;
Indata = [int(i) for i in input().split()]
MinVal = min(Indata)
MaxVal = max(Indata)
SumVal = sum(Indata)
print(MinVal, MaxVal, SumVal)
|
s160339704 | p02402 | u498462680 | 1546261422 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | Num = int(input())
Indata = [0] * num
Indata = [int(i) for i in input().split()]
MinVal = min(Indata)
MaxVal = max(Indata)
SumVal = sum(Indata)
print(MinVal, MaxVal, SumVal)
|
s396887567 | p02402 | u175224634 | 1551541070 | Python | Python3 | py | Runtime Error | 0 | 0 | 155 | date1,date2 = list(map(int, input().split()))
a = min(date1) # 2
b = max(date1) # 50
c = sum(date1) # 256
print(f'{a}')
print(f'{b}')
print(f'{c}')
|
s675999638 | p02402 | u175224634 | 1551541144 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | date1,date2 = list(map(int, input().split()))
a = min(date1)
b = max(date1)
c = sum(date1)
print(a)
print(b)
print(c)
|
s270275370 | p02402 | u175224634 | 1551541262 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | date1,date2 = list(map(int, input().split()))
a = min(date1)
b = max(date1)
c = sum(date1)
print(a b c)
|
s816137225 | p02402 | u146647066 | 1551551929 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | n=input()
lst=map(int,input().split())
print(min(lst),max(lst),sum(lst))
|
s588218991 | p02402 | u733357255 | 1551611880 | Python | Python3 | py | Runtime Error | 0 | 0 | 249 | n = int(input())
i = 0
l = list(map(int, input().split()))
Max = l[0]
Min = l[0]
for i in range(0,n):
if l[i] > Max: l[i],Max = Max,l[i]
if l[i] < Min: l[i],Min = Min,l[i]
sum = 0
sum += l[i]
print(f"{Min} {Max} {sum}")
|
s242917389 | p02402 | u733357255 | 1551611964 | Python | Python3 | py | Runtime Error | 0 | 0 | 247 | n = int(input())
i = 0
l = list(map(int, input().split()))
Max = l[0]
Min = l[0]
for i in range(0,n):
if l[i] > Max: l[i],Max = Max,l[i]
if l[i] < Min: l[i],Min = Min,l[i]
sum = 0
sum += l[i]
print(f"{Min} {Max} {sum}")
|
s623309951 | p02402 | u056263240 | 1555982767 | Python | Python | py | Runtime Error | 0 | 0 | 102 | input()
x = input()
a = x.split()
b = list(map(int,a))
print("{} {} {}".format(min(b),max(b),sum(b)))
|
s511329577 | p02402 | u093488647 | 1556003210 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | num = int(input())
data = map(int, input().split())
data.sort()
min = data[0]
max = data[-1]
avg = 0
for tmp in data:
avg += tmp
print(min,max,avg)
|
s747331126 | p02402 | u681232780 | 1556335697 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 |
a,b,c
x = input()
n = list(map(int,input().split()))
a = min(n)
b = max(n)
c = sum(n)
print(a,b,c)
|
s684239952 | p02402 | u681232780 | 1556335745 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 |
x = input()
n = list(map(int,input().split()))
a = min(n)
b = max(n)
c = sum(n)
print(a,b,c)
|
s744296430 | p02402 | u681232780 | 1556335851 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 |
x = int(input())
n = list(map(int,input().split()))
a = min(n)
b = max(n)
c = sum(n)
print(a,b,c)
|
s016886171 | p02402 | u482227082 | 1556417952 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | n = int(input().split())
list = map(int, input()split())
sum = 0
for i in range(n)
sum += list[i]
print(min(list), max(list), sum)
|
s317386948 | p02402 | u482227082 | 1556417966 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | n = int(input().split())
list[] = map(int, input()split())
sum = 0
for i in range(n)
sum += list[i]
print(min(list), max(list), sum)
|
s167218544 | p02402 | u482227082 | 1556417977 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | n = int(input().split())
list = map(int, input().split())
sum = 0
for i in range(n)
sum += list[i]
print(min(list), max(list), sum)
|
s694243755 | p02402 | u482227082 | 1556417987 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | n = int(input().split())
list = map(int, input().split())
sum = 0
for i in range(n):
sum += list[i]
print(min(list), max(list), sum)
|
s091835790 | p02402 | u482227082 | 1556418054 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | n = input().split()
list = map(int, input().split())
sum = 0
for i in range(n):
sum += list[i]
print(min(list), max(list), sum)
|
s509488407 | p02402 | u482227082 | 1556418069 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | n = int(input().split())
list = map(int, input().split())
sum = 0
for i in range(n):
sum += list[i]
print(min(list), max(list), sum)
|
s110999691 | p02402 | u482227082 | 1556418088 | Python | Python3 | py | Runtime Error | 0 | 0 | 145 | n = int(input().split())
list = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += list[i]
print(min(list), max(list), sum)
|
s016812159 | p02402 | u482227082 | 1556418174 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | n = int(input().split())
l = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += l[i]
print(min(list), max(list), sum)
|
s705601330 | p02402 | u482227082 | 1556418208 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | n = int(input())
l = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += l[i]
print(min(list), max(list), sum)
|
s859283764 | p02402 | u482227082 | 1556418261 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | n = int(input())
l = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += l[i]
print(min(l), max(l), sum(l))
|
s563391099 | p02402 | u482227082 | 1556418308 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | n = int(input())
l = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += l[i]
print(min(l), max(l), sum(l))
|
s997843641 | p02402 | u482227082 | 1556418371 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | n = int(input())
l = list(map(int, input().split()))
sum = 0
for i in range(n):
sum += l[i]
print(sum(l))
|
s282443724 | p02402 | u610816226 | 1556626936 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | a, b = input().split('\n')
x = [int(i) for i in b.split()]
print(min(x), max(x), sum(x))
|
s035068932 | p02402 | u610816226 | 1556627068 | Python | Python3 | py | Runtime Error | 0 | 0 | 85 | a, b = input().split()
x = [int(i) for i in b.split()]
print(min(x), max(x), sum(x))
|
s772376663 | p02402 | u610816226 | 1556627949 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | x = [int(v) for v in input().split()]
del x[0]
print(min(x), max(x), sum(x))
|
s204473454 | p02402 | u610816226 | 1556628016 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | x = [int(v) for v in input().split()]
del x[0]
print(min(x), max(x), sum(x))
|
s640450094 | p02402 | u630518143 | 1556725636 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | import numpy
nums1 = []
for i in range(2):
nums = [int(e) for e in input().split()]
nums1.append(nums)
max = numpy.max(nums1[1])
min = numpy.min(nums1[1])
sum = numpy.sum(nums1[1])
print(max, min, sum)
|
s645431235 | p02402 | u773889679 | 1556800064 | Python | Python3 | py | Runtime Error | 0 | 0 | 729 | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
using namespace std;
typedef long long unsigned int ... |
s589538763 | p02402 | u120055135 | 1558933270 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | n = int(input())
l = list(map(int,input().split())
print(min(l),max(l),sum(l))
|
s384491212 | p02402 | u120055135 | 1558933500 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | n = input()
ns = list(map(int,input().split())
print(min(ns),max(ns),sum(ns))
|
s595502364 | p02402 | u535719732 | 1559197024 | Python | Python3 | py | Runtime Error | 0 | 0 | 245 | num = int(input())
lis = list(map(int,input().split()))
sum = 0
min = list[0]
max = list[0]
for i in range(num):
if(min > list[i]):min = list[i]
if(max < list[i]):max = list[i]
sum = sum+list[i]
print("%d %d %d" %(min,max,sum))
|
s412499373 | p02402 | u015712946 | 1559525431 | Python | Python3 | py | Runtime Error | 0 | 0 | 239 | n = int(input())
# min, max, sum は関数名なので
# 別名を使うとよい
min0 = 100000
max0 = -100000
sum0 = 0
for i in range(n):
x = int(input())
min0 = min(min0, x)
max0 = max(max0, x)
sum0 += x
print(min0, max0, sum0)
|
s928193449 | p02402 | u015712946 | 1559525464 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | n = int(input())
# min, max, sum は関数名なので
# 別名を使うとよい
min0 = 100000
max0 = -100000
sum0 = 0
for i in range(n):
x = int(input())
min0 = min(min0, x)
max0 = max(max0, x)
sum0 += x
print(min0, max0, sum0)
|
s435192831 | p02402 | u015712946 | 1559525746 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | n = int(input())
ns = list(map(int, input().split()))
print(min(ns), max(ns), sum(ns)
|
s803117738 | p02402 | u015712946 | 1559525788 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | n = int(input())
ns = list(map(int, input().split()))
print(min(ns), max(ns), sum(ns)
|
s484018162 | p02402 | u067975558 | 1422493329 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | input()
input()
data = [int(x) for x in input().split()]
print(min(data), max(data), sum(data)) |
s703587987 | p02402 | u527848444 | 1422843376 | Python | Python3 | py | Runtime Error | 0 | 0 | 129 | sum = 0
max = -10000000
min = 10000000
input()
data = [int(x) for x in input().split()]
print(min(data), max(data), sum(data)) |
s816467695 | p02402 | u636711749 | 1422843470 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | input()
data = [int(x) for x in input().input()]
print(min(data),max(data),sum(data)) |
s278985658 | p02402 | u879226672 | 1423234285 | Python | Python | py | Runtime Error | 0 | 0 | 239 | while True:
n = int(raw_input())
try:
ls = map(int,raw_input().split())
mi = min(ls)
ma = max(ls)
su = sum(ls)
print "%d %d %d" %(mi,ma,su)
except EOFError:
break |
s473345850 | p02402 | u879226672 | 1423234376 | Python | Python | py | Runtime Error | 0 | 0 | 251 | while True:
n = int(raw_input())
ls = []
try:
ls = map(int,raw_input().split())
mi = min(ls)
ma = max(ls)
su = sum(ls)
print "%d %d %d" %(mi,ma,su)
except EOFError:
break |
s358763273 | p02402 | u879226672 | 1423234567 | Python | Python | py | Runtime Error | 0 | 0 | 188 | n = int(raw_input())
ls = []
try:
ls = map(int,raw_input().split())
mi = min(ls)
ma = max(ls)
su = sum(ls)
print "%d %d %d" % (mi,ma,su) |
s002182565 | p02402 | u879226672 | 1423234608 | Python | Python | py | Runtime Error | 0 | 0 | 172 | n = int(raw_input())
ls = map(int,raw_input().split())
mi = min(ls)
ma = max(ls)
su = sum(ls)
print "%d %d %d" % (mi,ma,su) |
s681289656 | p02402 | u669360983 | 1430200567 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | n=input()
data=list(int, input().split())
print('%d %d %d' %(min(data), max(data), sum(data) ) |
s912367295 | p02402 | u669360983 | 1430200581 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | n=input()
data=list(int, input().split())
print('%d %d %d' %(min(data), max(data), sum(data) )) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.