Pagini recente »
Borderou de evaluare (job #847530)
Borderou de evaluare (job #847530)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:62:36: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | pos[i][0]+=dirl[dir[i]];
| ~~~^~~
main.c:63:36: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | pos[i][1]+=dirc[dir[i]];
| ~~~^~~
main.c:59:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
59 | for(i=0;i<t;i++)
| ^~~
main.c:78:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
78 | s=0;
| ^
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d%d%d",&cer,&n,&m,&t);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&poz);
| ^~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
Corect
|
7
|
|
2
|
0 ms
|
508 kb
|
Corect
|
3
|
|
3
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
508 kb
|
Corect
|
3
|
|
5
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
7
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
8
|
0 ms
|
292 kb
|
Corect
|
3
|
|
9
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
10
|
0 ms
|
292 kb
|
Corect
|
3
|
|
11
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
12
|
23 ms
|
292 kb
|
Incorect
|
0
|
|
13
|
23 ms
|
508 kb
|
Incorect
|
0
|
|
14
|
17 ms
|
508 kb
|
Incorect
|
0
|
|
15
|
17 ms
|
508 kb
|
Incorect
|
0
|
|
16
|
7 ms
|
708 kb
|
Corect
|
3
|
|
17
|
7 ms
|
508 kb
|
Incorect
|
0
|
|
18
|
13 ms
|
508 kb
|
Corect
|
3
|
|
19
|
13 ms
|
508 kb
|
Incorect
|
0
|
|
20
|
0 ms
|
292 kb
|
Corect
|
3
|
|
Punctaj total
|
28
|