Pagini recente » Borderou de evaluare (job #1917584) | Borderou de evaluare (job #927959) | Borderou de evaluare (job #1486268) | Borderou de evaluare (job #1303325) | Borderou de evaluare (job #1569109)
Borderou de evaluare (job #1569109)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.in", "r", stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.out", "w", stdout);
^
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp: In function ‘void solve()’:
user.cpp:24:23: warning: array subscript is above array bounds [-Warray-bounds]
-- b[2][p];
^
user.cpp:24:23: warning: array subscript is above array bounds [-Warray-bounds]
user.cpp:21:33: warning: array subscript is above array bounds [-Warray-bounds]
while (p <= m && b[2][p])
^
user.cpp:32:20: warning: array subscript is above array bounds [-Warray-bounds]
b[2][p] = -x - 1;
^
user.cpp:40:24: warning: array subscript is above array bounds [-Warray-bounds]
b[2][j] = 0;
^
user.cpp:48:23: warning: array subscript is above array bounds [-Warray-bounds]
-- b[2][p];
^
user.cpp:48:23: warning: array subscript is above array bounds [-Warray-bounds]
user.cpp:45:33: warning: array subscript is above array bounds [-Warray-bounds]
while (p <= m && b[2][p])
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | Incorect | 0 |
| 2 | 0ms | 444kb | Incorect | 0 |
| 3 | 4ms | 436kb | Incorect | 0 |
| 4 | 0ms | 440kb | Incorect | 0 |
| 5 | 4ms | 440kb | Incorect | 0 |
| 6 | 0ms | 444kb | Incorect | 0 |
| 7 | 0ms | 444kb | Incorect | 0 |
| 8 | 4ms | 440kb | Wall time limit exceeded. | 0 |
| 9 | 4ms | 440kb | Wall time limit exceeded. | 0 |
| 10 | 0ms | 440kb | Incorect | 0 |
| Punctaj total | 0 |