Borderou de evaluare (job #1391869)

Utilizator alexblackFMI - Dumitrache Alexandru alexblack Data 18 martie 2015 11:08:31
Problema Sate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bfs()’: user.cpp:21:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(size_t i=0;((i<dim) && (!viz[y]));i++) ^ user.cpp:28:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(a>cur) ^ user.cpp: In function ‘int main()’: user.cpp:43:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(in,"%d %d %d %d\n",&n,&m,&x,&y); ^ user.cpp:43:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:43:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=] user.cpp:43:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short unsigned int*’ [-Wformat=] user.cpp:46:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(in,"%d %d %ul\n",&a,&b,&d); ^ user.cpp:46:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:46:41: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 5 has type ‘long unsigned int*’ [-Wformat=] user.cpp:43:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d %d %d\n",&n,&m,&x,&y); ^ user.cpp:46:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d %ul\n",&a,&b,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms624kbIncorect00
20ms620kbIncorect0
30ms616kbIncorect0
40ms620kbIncorect00
50ms620kbIncorect0
60ms620kbIncorect0
70ms624kbIncorect00
80ms620kbIncorect0
90ms616kbIncorect0
100ms620kbIncorect00
110ms616kbIncorect0
120ms620kbIncorect0
130ms620kbIncorect00
140ms620kbIncorect0
150ms616kbIncorect0
160ms616kbIncorect0
170ms624kbIncorect00
180ms616kbIncorect0
190ms620kbIncorect0
200ms616kbIncorect0
Punctaj total0

Ceva nu functioneaza?