Borderou de evaluare (job #1674893)

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

Raport evaluator

Compilare: user.cpp: In function ‘void enqueue(int, int, double, double)’: user.cpp:65:23: warning: narrowing conversion of ‘l’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] q.push((cell){l, c}); ^ user.cpp:65:23: warning: narrowing conversion of ‘c’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp: In function ‘pair bellFord(cell, cell)’: user.cpp:93:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] newDist = len + dist[h[l][c]][h[l0][c0]]; ^ user.cpp:93:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] newDist = len + dist[h[l][c]][h[l0][c0]]; ^ user.cpp:106:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] return d[v.l][v.c]; ^ user.cpp:106:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] return d[v.l][v.c]; ^ user.cpp: In function ‘int main()’: user.cpp:121:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &h[i][j]); ^ user.cpp:125: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:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=] user.cpp:118: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:121: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:125: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:131: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
10ms420kbOK!5
20ms428kbOK!5
30ms428kbOK!5
40ms424kbOK!5
50ms456kbOK!5
60ms432kbOK!5
70ms432kbOK!5
80ms432kbOK!5
90ms432kbOK!5
100ms436kbOK!5
110ms432kbOK!5
120ms440kbOK!5
130ms444kbOK!5
140ms424kbOK!5
150ms424kbOK!5
160ms460kbOK!5
170ms456kbOK!5
180ms460kbOK!5
190ms440kbOK!5
200ms432kbOK!5
Punctaj total100

Ceva nu functioneaza?