Pagini recente »
Borderou de evaluare (job #619530)
|
Borderou de evaluare (job #352251)
|
Borderou de evaluare (job #634728)
|
Borderou de evaluare (job #348262)
|
Borderou de evaluare (job #813017)
Borderou de evaluare (job #813017)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:21: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | dir[o++]=tip[ch];
| ^
main.c:46:25: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(l+(dl[dir[j]]*2)>-1&&l+(dl[dir[j]]*2)<n&&c+(dc[dir[j]]*2)>=0&&c+(dc[dir[j]]*2)<m)
| ~~~^~~
main.c:46:46: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(l+(dl[dir[j]]*2)>-1&&l+(dl[dir[j]]*2)<n&&c+(dc[dir[j]]*2)>=0&&c+(dc[dir[j]]*2)<m)
| ~~~^~~
main.c:46:66: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(l+(dl[dir[j]]*2)>-1&&l+(dl[dir[j]]*2)<n&&c+(dc[dir[j]]*2)>=0&&c+(dc[dir[j]]*2)<m)
| ~~~^~~
main.c:46:87: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(l+(dl[dir[j]]*2)>-1&&l+(dl[dir[j]]*2)<n&&c+(dc[dir[j]]*2)>=0&&c+(dc[dir[j]]*2)<m)
| ~~~^~~
main.c:48:30: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(v[l+dl[dir[j]]*2][c+(dc[dir[j]]*2)]==0&&v[l+dl[dir[j]]][c+dc[dir[j]]]>0)
| ~~~^~~
main.c:48:47: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(v[l+dl[dir[j]]*2][c+(dc[dir[j]]*2)]==0&&v[l+dl[dir[j]]][c+dc[dir[j]]]>0)
| ~~~^~~
main.c:48:70: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(v[l+dl[dir[j]]*2][c+(dc[dir[j]]*2)]==0&&v[l+dl[dir[j]]][c+dc[dir[j]]]>0)
| ~~~^~~
main.c:48:84: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(v[l+dl[dir[j]]*2][c+(dc[dir[j]]*2)]==0&&v[l+dl[dir[j]]][c+dc[dir[j]]]>0)
| ~~~^~~
main.c:51:31: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | v[l+dl[dir[j]]][c+dc[dir[j]]]=0;
| ~~~^~~
main.c:51:45: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | v[l+dl[dir[j]]][c+dc[dir[j]]]=0;
| ~~~^~~
main.c:52:31: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | l+=(dl[dir[j]]*2);
| ~~~^~~
main.c:53:31: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | c+=(dc[dir[j]]*2);
| ~~~^~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d%d%d%d" ,&n,&m,&k,&g);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d%d" ,&lp[i],&cp[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d%d" ,&l,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
9 ms
|
512 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
507 kb
|
Incorect
|
0
|
7
|
1 ms
|
266 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
241 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
266 kb
|
Incorect
|
0
|
17
|
1 ms
|
507 kb
|
Incorect
|
0
|
18
|
49 ms
|
270 kb
|
Incorect
|
0
|
19
|
209 ms
|
499 kb
|
Incorect
|
0
|
20
|
169 ms
|
471 kb
|
Incorect
|
0
|
Punctaj total
|
0
|