Borderou de evaluare (job #1283913)

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

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:71:6: warning: pointer targets in passing argument 1 of ‘nth_element’ differ in signedness [-Wpointer-sign] fprintf(fout, "%d", nth_element(vec, n, k)); ^ user.c:46:5: note: expected ‘int *’ but argument is of type ‘uint *’ int nth_element(int vec[], int n, int k) { ^ user.c:61:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.c:65: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
10ms260kbOK1010
232ms640kbOK1010
320ms528kbOK1010
424ms572kbOK1010
552ms836kbOK1010
6824ms10020kbOK1010
7820ms10024kbOK1010
8872ms10020kbOK1030
9992ms11188kbOK10
10976ms11972kbOK10
Punctaj total100

Ceva nu functioneaza?