Borderou de evaluare (job #1747736)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 25 august 2016 15:25:03
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 83

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:18: warning: unused variable ‘s’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y; ^ user.cpp:29:21: warning: unused variable ‘t’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y; ^ user.cpp:29:24: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y; ^ user.cpp:29:27: warning: unused variable ‘k’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y; ^ user.cpp: In function ‘void computeLow(int)’: user.cpp:72:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < v[ k ].size(); ++i ){ ^ user.cpp:60:12: warning: unused variable ‘x’ [-Wunused-variable] int k, x, i, j; ^ user.cpp:60:18: warning: unused variable ‘j’ [-Wunused-variable] int k, x, i, j; ^ user.cpp: In function ‘void computeUp(int)’: user.cpp:98:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < g[ k ].size(); ++i ){ ^ user.cpp:85:13: warning: unused variable ‘x’ [-Wunused-variable] int k, x, i, j; ^ user.cpp:85:19: warning: unused variable ‘j’ [-Wunused-variable] int k, x, i, j; ^ user.cpp: In function ‘int main()’: user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.in","r",stdin); ^ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.out","w",stdout); ^ user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:32:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for( i = 1; i <= n; ++i ) scanf("%d",&valNod[ i ]); ^ user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK!10
20ms468kbGresit!3
30ms476kbA doua valoare gresita!7
40ms472kbGresit!3
50ms532kbOK!10
60ms532kbOK!10
70ms476kbOK!10
80ms488kbOK!10
90ms488kbOK!10
100ms472kbOK!10
Punctaj total83

Ceva nu functioneaza?