Borderou de evaluare (job #1283920)

Utilizator thinkphpAdrian Statescu thinkphp Data 6 decembrie 2014 07:41:53
Problema Statistici de ordine Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘nth_element_helper’: user.c:72:11: warning: pointer targets in passing argument 1 of ‘swap’ differ in signedness [-Wpointer-sign] if( i <= j ) swap(vec + i, vec + j), i++, j--; ^ user.c:47:6: note: expected ‘int *’ but argument is of type ‘uint *’ void swap(int *a,int *b) { ^ user.c:72:11: warning: pointer targets in passing argument 2 of ‘swap’ differ in signedness [-Wpointer-sign] if( i <= j ) swap(vec + i, vec + j), i++, j--; ^ user.c:47:6: note: expected ‘int *’ but argument is of type ‘uint *’ void swap(int *a,int *b) { ^ user.c: In function ‘main’: user.c:30:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.c:34:35: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < n; i++) fscanf(fin, "%d", &vec[ i ]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbOK1010
232ms632kbOK1010
320ms520kbOK1010
424ms560kbOK1010
552ms824kbOK1010
6856ms10012kbOK1010
7840ms10012kbOK1010
8792ms10004kbOK1030
9928ms11176kbOK10
101016ms11956kbOK10
Punctaj total100

Ceva nu functioneaza?