Rezultati

Up. imeNalogaJezikRezultatČas oddaje
dd8476 Hierarhija Python 3 100/100OK 11. maj '17 @ 16:55

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

Ocenjevani program (hierarhija.py):
n, m = map(int, input("").strip().split(" "))
a=""
for i in range(1, n):
    if i < n-m+1:
        a+=" "+str(i)
    else:
        a+=" "+str(1)
print(a[1:])