Pagini recente » K-Lexicografic | Borderou de evaluare (job #886621) | Borderou de evaluare (job #2152542) | Borderou de evaluare (job #1868730) | Borderou de evaluare (job #1569091)
Borderou de evaluare (job #1569091)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:14:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, p, x;
^
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:25:23: warning: array subscript is above array bounds [-Warray-bounds]
-- b[2][p];
^
user.cpp:25:23: warning: array subscript is above array bounds [-Warray-bounds]
user.cpp:22:33: warning: array subscript is above array bounds [-Warray-bounds]
while (p <= m && b[2][p])
^
user.cpp:33:20: warning: array subscript is above array bounds [-Warray-bounds]
b[2][p] = -x - 1;
^
user.cpp:41:24: warning: array subscript is above array bounds [-Warray-bounds]
b[2][j] = 0;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | Incorect | 0 |
| 2 | 0ms | 452kb | OK | 10 |
| 3 | 4ms | 440kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 4ms | 440kb | OK | 10 |
| 6 | 0ms | 448kb | OK | 10 |
| 7 | 0ms | 452kb | OK | 10 |
| 8 | 24ms | 444kb | OK | 10 |
| 9 | 36ms | 528kb | Incorect | 0 |
| 10 | 0ms | 444kb | OK | 10 |
| Punctaj total | 80 |