Borderou de evaluare (job #1727918)

Utilizator gigelmargelgigel margel gigelmargel Data 11 iulie 2016 21:17:25
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘sumaLungimilorSortareCrescatoare’: user.c:32:9: warning: variable ‘min’ set but not used [-Wunused-but-set-variable] int min , max; ^ user.c: In function ‘sumaLungimilorSortareDescrescatoare’: user.c:84:15: warning: variable ‘max’ set but not used [-Wunused-but-set-variable] int min , max; ^ user.c: In function ‘sumaLungimilorSortareCrescatoare’: user.c:38:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%u" , &nt); ^ user.c:42:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%u" , &n); ^ user.c:47:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%d %d" , &v[j].a , &v[j].b); ^ user.c: In function ‘sumaLungimilorSortareDescrescatoare’: user.c:90:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%u" , &nt); ^ user.c:94:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%u" , &n); ^ user.c:99:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%d %d" , &v[j].a , &v[j].b); ^ user.c:133:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1300ms344kbOK100
Punctaj total100

Ceva nu functioneaza?