Pagini recente »
Borderou de evaluare (job #814288)
|
Borderou de evaluare (job #147951)
|
Borderou de evaluare (job #145628)
|
Borderou de evaluare (job #147915)
|
Borderou de evaluare (job #813051)
Borderou de evaluare (job #813051)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d%d", &d, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d%d", &x, &y);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:19: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
18 | p += 4 - (mat[i + 1][j] + mat[i - 1][j] + mat[i][j + 1] + mat[i][j - 1]);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:21: note: 'p' was declared here
7 | int d, n, x, y, p, i, j;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
266 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
241 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|