Pagini recente »
Clasament 2021-12-10-clasa-6-tema-11
|
Borderou de evaluare (job #797316)
|
Borderou de evaluare (job #281676)
|
Borderou de evaluare (job #503820)
|
Borderou de evaluare (job #694593)
Borderou de evaluare (job #694593)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:41:28: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0){ // ne putem misca in directia ch ?
| ^
main.c:41:28: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0){ // ne putem misca in directia ch ?
| ~~~^~~~
main.c:41:47: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0){ // ne putem misca in directia ch ?
| ^
main.c:41:47: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0){ // ne putem misca in directia ch ?
| ~~~^~~~
main.c:42:26: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | lin+=difl[dir[ch]];
| ^
main.c:42:26: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | lin+=difl[dir[ch]];
| ~~~^~~~
main.c:43:26: warning: array subscript has type 'char' [-Wchar-subscripts]
43 | col+=difc[dir[ch]];
| ^
main.c:43:26: warning: array subscript has type 'char' [-Wchar-subscripts]
43 | col+=difc[dir[ch]];
| ~~~^~~~
main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d%d%d%d%d ", &n, &x, &y, &z, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
499 kb
|
OK
|
10
|
4
|
2 ms
|
376 kb
|
OK
|
10
|
5
|
1 ms
|
237 kb
|
OK
|
10
|
6
|
1 ms
|
372 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
372 kb
|
OK
|
10
|
9
|
1 ms
|
2998 kb
|
OK
|
10
|
10
|
8 ms
|
4177 kb
|
OK
|
10
|
Punctaj total
|
90
|