Pagini recente »
Borderou de evaluare (job #219807)
|
Borderou de evaluare (job #191804)
|
OJI 2023 Clasa a VI-a - Antrenament - FFA v2.1
|
Borderou de evaluare (job #593885)
|
Borderou de evaluare (job #758987)
Borderou de evaluare (job #758987)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:85:21: warning: array subscript has type 'char' [-Wchar-subscripts]
85 | s+= vf[y[0]];
| ~^~~
main.c:87:13: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | vf[ch]++;
| ^
main.c:95:25: warning: array subscript has type 'char' [-Wchar-subscripts]
95 | pars += vf[y[0]];
| ~^~~
main.c:98:13: warning: array subscript has type 'char' [-Wchar-subscripts]
98 | vf[ch]++;
| ^
main.c:15:52: warning: unused variable 'i' [-Wunused-variable]
15 | int p,veveve,z,c,n,min = 10,minlc,aux = 0,ok,nrc,i,s = 0,pars = 0;
| ^
main.c:15:16: warning: unused variable 'z' [-Wunused-variable]
15 | int p,veveve,z,c,n,min = 10,minlc,aux = 0,ok,nrc,i,s = 0,pars = 0;
| ^
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin,"%d%d",&veveve,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:61:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:31:18: warning: 'minlc' may be used uninitialized [-Wmaybe-uninitialized]
31 | x[minlc] = x[c];
| ~~~~~~~~~^~~~~~
main.c:15:31: note: 'minlc' was declared here
15 | int p,veveve,z,c,n,min = 10,minlc,aux = 0,ok,nrc,i,s = 0,pars = 0;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Corect
|
7
|
2
|
1 ms
|
245 kb
|
Corect
|
7
|
3
|
2 ms
|
245 kb
|
Corect
|
7
|
4
|
1 ms
|
245 kb
|
Corect
|
7
|
5
|
1 ms
|
245 kb
|
Corect
|
7
|
6
|
1 ms
|
241 kb
|
Corect
|
7
|
7
|
1 ms
|
245 kb
|
Corect
|
7
|
8
|
1 ms
|
245 kb
|
Corect
|
7
|
9
|
1 ms
|
245 kb
|
Corect
|
7
|
10
|
2 ms
|
217 kb
|
Corect
|
3
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
241 kb
|
Corect
|
3
|
14
|
1 ms
|
237 kb
|
Corect
|
3
|
15
|
1 ms
|
233 kb
|
Incorect
|
0
|
16
|
1 ms
|
225 kb
|
Incorect
|
0
|
17
|
1 ms
|
221 kb
|
Incorect
|
0
|
18
|
1 ms
|
217 kb
|
Incorect
|
0
|
19
|
1 ms
|
212 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Corect
|
7
|
Punctaj total
|
79
|