Rezultati

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

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 8,645 MiB 0,000 s OK
#2 10/10 8,590 MiB 0,000 s OK
#3 10/10 8,629 MiB 0,000 s OK
#4 10/10 8,648 MiB 0,000 s OK
#5 10/10 8,680 MiB 0,000 s OK
#6 10/10 8,672 MiB 0,000 s OK
#7 10/10 8,691 MiB 0,000 s OK
#8 10/10 8,672 MiB 0,000 s OK
#9 10/10 8,656 MiB 0,000 s OK
#10 10/10 8,684 MiB 0,000 s OK

Ocenjevani program (hiearhija.py):
n, m = map(int, input().split())

m = n - m

l = []
for i in range(1, m + 1):
    l.append(str(i))

for j in range(n - m - 1): l.append(str(1))

print(' '.join(l))