Pagini recente » Borderou de evaluare (job #870983) | Borderou de evaluare (job #1820854) | Borderou de evaluare (job #2121764) | Borderou de evaluare (job #2121736) | Borderou de evaluare (job #1216039)
Borderou de evaluare (job #1216039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:97: warning: unused variable ‘x’ [-Wunused-variable]
int n, m, k, Moon[nmax][nmax], M[2500][2], Possessors[2500], type, width, len, i, j, row, col, x, y;
^
user.cpp:24:100: warning: unused variable ‘y’ [-Wunused-variable]
int n, m, k, Moon[nmax][nmax], M[2500][2], Possessors[2500], type, width, len, i, j, row, col, x, y;
^
user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.in", "r", stdin);
^
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.out", "w", stdout);
^
user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Moon[i][j]);
^
user.cpp:74:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:77:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &type, &width, &len);
^
user.cpp:56:13: warning: array subscript is above array bounds [-Warray-bounds]
M[type][2] = row;
^
user.cpp:79:45: warning: array subscript is above array bounds [-Warray-bounds]
else if ((M[type][1] >= width && M[type][2] >= len) || (M[type][2] >= width && M[type][1] >= len))printf("Cererea poate fi satisfacuta!\n");
^
user.cpp:79:68: warning: array subscript is above array bounds [-Warray-bounds]
else if ((M[type][1] >= width && M[type][2] >= len) || (M[type][2] >= width && M[type][1] >= len))printf("Cererea poate fi satisfacuta!\n");
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | Non-zero exit status. | 0 |
| 2 | 0ms | 428kb | Non-zero exit status. | 0 |
| 3 | 0ms | 460kb | Non-zero exit status. | 0 |
| 4 | 4ms | 460kb | Non-zero exit status. | 0 |
| 5 | 76ms | 456kb | Non-zero exit status. | 0 |
| 6 | 84ms | 460kb | Non-zero exit status. | 0 |
| 7 | 0ms | 440kb | Non-zero exit status. | 0 |
| 8 | 0ms | 436kb | Non-zero exit status. | 0 |
| 9 | 8ms | 440kb | Non-zero exit status. | 0 |
| 10 | 0ms | 436kb | Non-zero exit status. | 0 |
| 11 | 8ms | 440kb | Non-zero exit status. | 0 |
| 12 | 4ms | 432kb | Non-zero exit status. | 0 |
| 13 | 0ms | 436kb | Non-zero exit status. | 0 |
| 14 | 44ms | 436kb | Non-zero exit status. | 0 |
| 15 | 0ms | 444kb | Non-zero exit status. | 0 |
| 16 | 8ms | 440kb | Non-zero exit status. | 0 |
| 17 | 44ms | 452kb | Non-zero exit status. | 0 |
| 18 | 68ms | 452kb | Non-zero exit status. | 0 |
| 19 | 88ms | 464kb | Non-zero exit status. | 0 |
| 20 | 88ms | 452kb | Non-zero exit status. | 0 |
| Punctaj total | 0 |