Rezultati

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

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 8,609 MiB 0,000 s OK
#2 10/10 8,629 MiB 0,000 s OK
#3 10/10 8,602 MiB 0,000 s OK
#4 10/10 8,672 MiB 0,000 s OK
#5 10/10 8,695 MiB 0,000 s OK
#6 10/10 8,691 MiB 0,000 s OK
#7 10/10 8,637 MiB 0,000 s OK
#8 10/10 8,699 MiB 0,000 s OK
#9 10/10 8,684 MiB 0,000 s OK
#10 10/10 8,656 MiB 0,000 s OK

Ocenjevani program (hier.py):
import sys

n, m = [int(x) for x in sys.stdin.readline().strip().split()]

l = [i for i in range(1, n-m)]
l2 = [n-m for i in range(m)]

print(' '.join([str(x) for x in l+l2]))