Borderou de evaluare (job #1686022)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 11 aprilie 2016 23:46:08
Problema Alpin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:12: warning: unused variable ‘m’ [-Wunused-variable] int n, m, i, j, s, t, d, k, ma, x, y, x_aa, y_aa; ^ user.cpp:26:21: warning: unused variable ‘s’ [-Wunused-variable] int n, m, i, j, s, t, d, k, ma, x, y, x_aa, y_aa; ^ user.cpp:26:27: warning: unused variable ‘d’ [-Wunused-variable] int n, m, i, j, s, t, d, k, ma, x, y, x_aa, y_aa; ^ user.cpp:26:37: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int n, m, i, j, s, t, d, k, ma, x, y, x_aa, y_aa; ^ user.cpp:26:40: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] int n, m, i, j, s, t, d, k, ma, x, y, x_aa, y_aa; ^ user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alpin.in","r",stdin); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alpin.out","w",stdout); ^ user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:33:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&best[i][j][1]); ^ user.cpp:47:89: warning: array subscript is above array bounds [-Warray-bounds] best[x_aa][y_aa][2] = maxim( best[x_aa][y_aa][2], best[v[i].x][v[i].y][2] + 1 ); ^ user.cpp:47:95: warning: array subscript is above array bounds [-Warray-bounds] best[x_aa][y_aa][2] = maxim( best[x_aa][y_aa][2], best[v[i].x][v[i].y][2] + 1 ); ^ user.cpp:47:35: warning: array subscript is above array bounds [-Warray-bounds] best[x_aa][y_aa][2] = maxim( best[x_aa][y_aa][2], best[v[i].x][v[i].y][2] + 1 ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbDoar lungimea traseului corecta!5
20ms336kbWall time limit exceeded.0
30ms292kbWall time limit exceeded.0
40ms300kbWall time limit exceeded.0
50ms276kbWall time limit exceeded.0
60ms260kbWall time limit exceeded.0
70ms264kbWall time limit exceeded.0
80ms260kbWall time limit exceeded.0
90ms264kbWall time limit exceeded.0
100ms256kbWall time limit exceeded.0
Punctaj total5

Ceva nu functioneaza?