Pagini recente »
Borderou de evaluare (job #853002)
|
Borderou de evaluare (job #852622)
Borderou de evaluare (job #852622)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:12: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | f[v[i]]++;
| ~^~~
main.c:37:20: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | aux=i+cod[v[i]];
| ~^~~
main.c:50:20: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | aux=i+cod[v[i]];
| ~^~~
main.c:55:21: warning: array subscript has type 'char' [-Wchar-subscripts]
55 | a[k]=i-cod[v[i]];
| ~^~~
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d ", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d" ,&h);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf(fin, "%d" ,&k);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:30:17: warning: 'maxl' may be used uninitialized [-Wmaybe-uninitialized]
30 | maxl+=f[j];
| ~~~~^~~~~~
main.c:10:23: note: 'maxl' was declared here
10 | int n,i,j,h,k,max,maxl,min,m,sum,aux;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
508 kb
|
OK
|
10
|
|
2
|
0 ms
|
292 kb
|
OK
|
10
|
|
3
|
1 ms
|
508 kb
|
OK
|
10
|
|
4
|
0 ms
|
508 kb
|
OK
|
10
|
|
5
|
1 ms
|
508 kb
|
OK
|
10
|
|
6
|
0 ms
|
292 kb
|
OK
|
10
|
|
7
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
292 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
Punctaj total
|
60
|