Borderou de evaluare (job #1412946)

Utilizator karlaKarla Maria karla Data 1 aprilie 2015 17:39:02
Problema Asmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int)’: user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[nod].size(); i++) ^ user.cpp:15:9: warning: unused variable ‘max1’ [-Wunused-variable] int max1 = 0, s = 0, ok = 1; ^ user.cpp:15:19: warning: unused variable ‘s’ [-Wunused-variable] int max1 = 0, s = 0, ok = 1; ^ user.cpp:15:26: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] int max1 = 0, s = 0, ok = 1; ^ user.cpp: In function ‘int main()’: user.cpp:34:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&n); ^ user.cpp:36:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d ",&val[i]); ^ user.cpp:39:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d\n",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms1000kbOK10
20ms456kbOK10
30ms456kbOK10
40ms464kbOK10
50ms464kbOK10
60ms472kbOK10
78ms844kbOK10
816ms1000kbOK10
916ms996kbOK10
1020ms1000kbOK10
Punctaj total100

Ceva nu functioneaza?