Pagini recente » Borderou de evaluare (job #2210955) | Borderou de evaluare (job #3219069) | Borderou de evaluare (job #1231273) | Borderou de evaluare (job #2104966) | Borderou de evaluare (job #1693207)
Borderou de evaluare (job #1693207)
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: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:65: warning: array subscript is above array bounds [-Warray-bounds]
if( best[x_aa][y_aa][2] < best[v[i].x][v[i].y][2] + 1 ){
^
user.cpp:47:39: warning: array subscript is above array bounds [-Warray-bounds]
if( best[x_aa][y_aa][2] < best[v[i].x][v[i].y][2] + 1 ){
^
user.cpp:48:39: warning: array subscript is above array bounds [-Warray-bounds]
best[x_aa][y_aa][2] = best[v[i].x][v[i].y][2] + 1;
^
user.cpp:50:39: warning: array subscript is above array bounds [-Warray-bounds]
tata[x_aa][y_aa][2] = v[i].y;
^
user.cpp:52:44: warning: array subscript is above array bounds [-Warray-bounds]
if( ma < best[x_aa][y_aa][2] ){
^
user.cpp:67:18: warning: array subscript is above array bounds [-Warray-bounds]
rasp[k][2] = y;
^
user.cpp:70:25: warning: array subscript is above array bounds [-Warray-bounds]
y = tata[d][y][2];
^
user.cpp:74:47: warning: array subscript is above array bounds [-Warray-bounds]
printf("%d %d\n",rasp[i][1],rasp[i][2]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Alpinistul si-a indeplinit sarcina! | 10 |
2 | 0ms | 944kb | Alpinistul si-a indeplinit sarcina! | 10 |
3 | 12ms | 1692kb | Alpinistul si-a indeplinit sarcina! | 10 |
4 | 16ms | 1824kb | Alpinistul si-a indeplinit sarcina! | 10 |
5 | 68ms | 5672kb | Alpinistul si-a indeplinit sarcina! | 10 |
6 | 148ms | 9208kb | Alpinistul si-a indeplinit sarcina! | 10 |
7 | 508ms | 20976kb | Alpinistul si-a indeplinit sarcina! | 10 |
8 | Depăşit | 25508kb | Time limit exceeded. | 0 |
9 | Depăşit | 29136kb | Time limit exceeded. | 0 |
10 | Depăşit | 30084kb | Time limit exceeded. | 0 |
Punctaj total | 70 |