Rezultati

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

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 8,594 MiB 0,000 s OK
#2 10/10 8,637 MiB 0,000 s OK
#3 10/10 8,641 MiB 0,000 s OK
#4 10/10 8,609 MiB 0,000 s OK
#5 10/10 8,598 MiB 0,000 s OK
#6 10/10 8,602 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,594 MiB 0,000 s OK
#10 10/10 8,605 MiB 0,000 s OK

Ocenjevani program (hierarhija.py):
string = input()
[n, m] = map(int, string.split())

result = ''
for i in range(1, n-m):
    result += str(i)
    result += ' '

for i in range(m-1):
    result += str(n - m) + ' '

result += str(n - m)

print(result)