Rezultati

Up. imeNalogaJezikRezultatČas oddaje
quartz-2017 Hierarhija C 100/100OK 11. maj '17 @ 17:11

Test Točke Porabljen spomin Porabljen čas Status
#1 10/10 1,480 MiB 0,000 s OK
#2 10/10 1,480 MiB 0,000 s OK
#3 10/10 1,516 MiB 0,000 s OK
#4 10/10 1,480 MiB 0,000 s OK
#5 10/10 1,480 MiB 0,000 s OK
#6 10/10 1,477 MiB 0,000 s OK
#7 10/10 1,520 MiB 0,000 s OK
#8 10/10 1,516 MiB 0,000 s OK
#9 10/10 1,477 MiB 0,000 s OK
#10 10/10 1,520 MiB 0,000 s OK

Ocenjevani program (program1.c):
#include <stdio.h>
int main(){
	int n,m;
	scanf("%d %d",&n,&m);
	for(int i=0; i<m; i++){
		printf("1 ");
	}
	for(int i=m+1; i<n; i++){
		printf("%d ",i);
	}
	return 0;
}