Borderou de evaluare (job #1693460)

Utilizator sdwolfSDWOLF sdwolf Data 23 aprilie 2016 10:03:31
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:57: warning: unused variable ‘position’ [-Wunused-variable] int list_length, count, result, index, type, subject, position; ^ user.c: In function ‘biggest_subject’: user.c:51:22: warning: unused variable ‘current’ [-Wunused-variable] int min, max, mid, current; ^ user.c: In function ‘smaller_than_subject’: user.c:74:22: warning: unused variable ‘current’ [-Wunused-variable] int min, max, mid, current; ^ user.c: In function ‘greather_than_subject’: user.c:93:22: warning: unused variable ‘current’ [-Wunused-variable] int min, max, mid, current; ^ user.c: In function ‘main’: user.c:16:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%d\n", &list_length); ^ user.c:21:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%d", &list[index]); ^ user.c:24:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%d\n", &count); ^ user.c:27:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%d %d", &type, &subject); ^ user.c: In function ‘biggest_subject’: user.c:51:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] int min, max, mid, current; ^ user.c: In function ‘smaller_than_subject’: user.c:74:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] int min, max, mid, current; ^ user.c: In function ‘greather_than_subject’: user.c:93:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] int min, max, mid, current; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbKilled by signal 11(SIGSEGV).00
20ms272kbIncorect00
30ms272kbIncorect00
44ms268kbKilled by signal 11(SIGSEGV).00
524ms312kbIncorect00
680ms464kbIncorect0
7120ms664kbIncorect00
8124ms664kbIncorect0
9124ms668kbIncorect0
10128ms660kbIncorect0
Punctaj total0

Ceva nu functioneaza?