Pagini recente »
Borderou de evaluare (job #691955)
|
Borderou de evaluare (job #523865)
|
Borderou de evaluare (job #670667)
|
Borderou de evaluare (job #807461)
|
Borderou de evaluare (job #695107)
Borderou de evaluare (job #695107)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:40:28: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0) { // ne putem misca in directia ch ?
| ^
main.c:40:28: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0) { // ne putem misca in directia ch ?
| ~~~^~~~
main.c:40:47: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0) { // ne putem misca in directia ch ?
| ^
main.c:40:47: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | if(mat[lin+difl[dir[ch]]][col+difc[dir[ch]]]>=0) { // ne putem misca in directia ch ?
| ~~~^~~~
main.c:41:26: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | lin+=difl[dir[ch]];
| ^
main.c:41:26: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | lin+=difl[dir[ch]];
| ~~~^~~~
main.c:42:26: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | col+=difc[dir[ch]];
| ^
main.c:42:26: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | col+=difc[dir[ch]];
| ~~~^~~~
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d%d%d%d%d ", &n, &x, &y, &z, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
237 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
503 kb
|
OK
|
10
|
4
|
1 ms
|
368 kb
|
OK
|
10
|
5
|
1 ms
|
245 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
|
2867 kb
|
OK
|
10
|
10
|
1 ms
|
2473 kb
|
OK
|
10
|
Punctaj total
|
90
|