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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
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) |
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)) |
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)) |
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)) |
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)) |
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)) |
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),) |
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)) |
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)) |
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)) |
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) |
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)) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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 |
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 |
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 |
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)) |
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)) |
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))) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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) |
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) |
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)) |
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) |
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() |
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() |
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() |
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)) |
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))) |
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))) |
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)) |
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... |
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) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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)) |
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))
|
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))
|
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)) |
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)) |
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)," ") |
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)," ") |
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)) |
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)) |
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] == ... |
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)) |
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))) |
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)) |
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) |
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) |
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) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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()) |
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()) |
s898162733 | p02402 | u150984829 | 1513080647 | Python | Python3 | py | Runtime Error | 0 | 0 | 62 | input()
i=input().split()
print(f'{min(i)} {max(i)} {sum(i)}') |
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)}') |
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)') |
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)
|
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))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.