Pagini recente » Borderou de evaluare (job #2462274) | Borderou de evaluare (job #2115617) | Borderou de evaluare (job #1173271) | Borderou de evaluare (job #2096577) | Borderou de evaluare (job #1686021)
Borderou de evaluare (job #1686021)
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: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 );
^
user.cpp:70:51: warning: array subscript is above array bounds [-Warray-bounds]
if( v[ma].val < best[x_aa][y_aa][2] ){
^
user.cpp:60:8: warning: array subscript is below array bounds [-Warray-bounds]
v[t].x = x;
^
user.cpp:61:8: warning: array subscript is below array bounds [-Warray-bounds]
v[t].y = y;
^
user.cpp:60:15: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[t].x = x;
^
user.cpp:61:15: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[t].y = y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | Alpinistul si-a indeplinit sarcina! | 10 |
2 | 0ms | 332kb | Wall time limit exceeded. | 0 |
3 | 0ms | 308kb | Wall time limit exceeded. | 0 |
4 | 0ms | 304kb | Wall time limit exceeded. | 0 |
5 | 0ms | 272kb | Wall time limit exceeded. | 0 |
6 | 0ms | 272kb | Wall time limit exceeded. | 0 |
7 | 0ms | 268kb | Wall time limit exceeded. | 0 |
8 | 0ms | 264kb | Wall time limit exceeded. | 0 |
9 | 0ms | 264kb | Wall time limit exceeded. | 0 |
10 | 0ms | 260kb | Wall time limit exceeded. | 0 |
Punctaj total | 10 |