Borderou de evaluare (job #1206410)

Utilizator mucalmicmarcel almic mucalmic Data 9 iulie 2014 20:52:20
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:28:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (z = 0; z < v[x].size(); z++) { ^ user.cpp: In function ‘int main()’: user.cpp:39:8: warning: variable ‘fi’ set but not used [-Wunused-but-set-variable] FILE *fi, *g; ^ user.cpp:39:13: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] FILE *fi, *g; ^ user.cpp:43:6: warning: unused variable ‘i’ [-Wunused-variable] int i, j, k, n, x, y, d; ^ user.cpp:43:12: warning: unused variable ‘k’ [-Wunused-variable] int i, j, k, n, x, y, d; ^ user.cpp:43:24: warning: unused variable ‘d’ [-Wunused-variable] int i, j, k, n, x, y, d; ^ user.cpp:44:7: warning: unused variable ‘c’ [-Wunused-variable] char c; ^ user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2004kbOK10
20ms2004kbOK10
30ms2004kbOK10
40ms2024kbOK10
58ms2204kbOK10
636ms2688kbOK10
752ms2980kbOK10
888ms3496kbOK10
988ms7760kbOK10
10128ms3960kbOK10
Punctaj total100

Ceva nu functioneaza?