Rezultati

Up. imeNalogaJezikRezultatČas oddaje
_NABLA-2017 Hierarhija Python 3 100/100OK 11. maj '17 @ 16:59

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 8,602 MiB 0,000 s OK
#2 10/10 8,602 MiB 0,000 s OK
#3 10/10 8,617 MiB 0,000 s OK
#4 10/10 8,680 MiB 0,000 s OK
#5 10/10 8,625 MiB 0,000 s OK
#6 10/10 8,609 MiB 0,000 s OK
#7 10/10 8,621 MiB 0,000 s OK
#8 10/10 8,656 MiB 0,000 s OK
#9 10/10 8,652 MiB 0,000 s OK
#10 10/10 8,613 MiB 0,000 s OK

Ocenjevani program (hierarhija.py):
inpt = input().split()
n = int(inpt[0])
m = int(inpt[1])
lst = []
index = 1

for i in range(m):
	lst.append("1")
for i in range(n-m-1):
	index+=1
	lst.append(str(index))
print(" ".join(lst))