Rezultati

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

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 8,629 MiB 0,000 s OK
#2 10/10 8,613 MiB 0,000 s OK
#3 10/10 8,605 MiB 0,000 s OK
#4 10/10 8,664 MiB 0,000 s OK
#5 10/10 8,648 MiB 0,000 s OK
#6 10/10 8,625 MiB 0,000 s OK
#7 10/10 8,586 MiB 0,000 s OK
#8 10/10 8,625 MiB 0,000 s OK
#9 10/10 8,656 MiB 0,000 s OK
#10 10/10 8,617 MiB 0,000 s OK

Ocenjevani program (hierar.py):
import sys
def hier(n,m):
    l=[]
    for i in range(1,n-m):
        l.append(i)
    for i in range(m):
        l.append(n-m)
    a=''
    for i in l:
        a=a+str(i)+' '
    return a[:(len(a)-1)]
f=sys.stdin.readline()

print(hier(int(f.split()[0]),int(f.split()[1])))