Pagini recente »
Borderou de evaluare (job #523795)
|
Borderou de evaluare (job #757818)
Borderou de evaluare (job #757818)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%c", &a[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%c", &enter);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:115:37: warning: array subscript -2 is below array bounds of 'char[22]' [-Warray-bounds=]
115 | if (a[i][j-1]=='.')
| ~~~~^~~~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
main.c:117:37: warning: array subscript -1 is below array bounds of 'char[22]' [-Warray-bounds=]
117 | a[i][j]='.';
| ~~~~^~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
main.c:118:37: warning: array subscript -2 is below array bounds of 'char[22]' [-Warray-bounds=]
118 | a[i][j-1]='L';
| ~~~~^~~~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
main.c:69:34: warning: array subscript -2 is below array bounds of 'char[22][22]' [-Warray-bounds=]
69 | if (a[i-1][j]=='.')
| ~^~~~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
main.c:71:34: warning: array subscript -1 is below array bounds of 'char[22][22]' [-Warray-bounds=]
71 | a[i][j]='.';
| ~^~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
main.c:72:34: warning: array subscript -2 is below array bounds of 'char[22][22]' [-Warray-bounds=]
72 | a[i-1][j]='U';
| ~^~~~~
main.c:5:6: note: while referencing 'a'
5 | char a[22][22], enter;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 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
|