Borderou de evaluare (job #1674897)

Utilizator stoianmihailStoian Mihail stoianmihail Data 4 aprilie 2016 22:19:49
Problema Excursie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘pair bellFord(cell, cell)’: user.cpp:107:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] return d[v.l][v.c]; ^ user.cpp:107:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] return d[v.l][v.c]; ^ user.cpp: In function ‘int main()’: user.cpp:126:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d %d %d %d", &start.l, &start.c, &finish.l, &finish.c); ^ user.cpp:126:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:126:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] user.cpp:126:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=] user.cpp:119:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lf", &N, &M, &L); ^ user.cpp:122:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &h[i][j]); ^ user.cpp:126:69: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d %d", &start.l, &start.c, &finish.l, &finish.c); ^ user.cpp:132:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("excursie.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK!5
20ms440kbOK!5
30ms444kbOK!5
40ms440kbOK!5
50ms444kbKilled by signal 11(SIGSEGV).0
60ms448kbOK!5
70ms456kbOK!5
80ms452kbOK!5
90ms456kbOK!5
100ms456kbOK!5
110ms456kbOK!5
120ms456kbOK!5
130ms468kbOK!5
140ms440kbOK!5
150ms436kbOK!5
160ms452kbKilled by signal 11(SIGSEGV).0
170ms448kbKilled by signal 11(SIGSEGV).0
180ms452kbKilled by signal 11(SIGSEGV).0
190ms460kbOK!5
200ms452kbOK!5
Punctaj total80

Ceva nu functioneaza?