Pagini recente »
Borderou de evaluare (job #655447)
|
Borderou de evaluare (job #116016)
|
Borderou de evaluare (job #55067)
|
Borderou de evaluare (job #759762)
|
Borderou de evaluare (job #768472)
Borderou de evaluare (job #768472)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:64:56: warning: unused variable 'ns' [-Wunused-variable]
64 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~
main.c:64:13: warning: unused variable 'con' [-Wunused-variable]
64 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~~
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d",&t,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:55:15: warning: 'cma' may be used uninitialized [-Wmaybe-uninitialized]
55 | if(cmi<cma)
| ^
main.c:19:34: note: 'cma' was declared here
19 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux;
| ^~~
main.c:55:15: warning: 'cmi' may be used uninitialized [-Wmaybe-uninitialized]
55 | if(cmi<cma)
| ^
main.c:19:38: note: 'cmi' was declared here
19 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux;
| ^~~
main.c:102:15: warning: 'cma' may be used uninitialized [-Wmaybe-uninitialized]
102 | if(cmi>cma)
| ^
main.c:64:34: note: 'cma' was declared here
64 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~~
main.c:105:33: warning: 'cmi' may be used uninitialized [-Wmaybe-uninitialized]
105 | w[i]=w[i]*10+cif[cmi];
| ~~~^~~~~
main.c:64:38: note: 'cmi' was declared here
64 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
9 ms
|
245 kb
|
OK
|
5
|
8
|
9 ms
|
270 kb
|
OK
|
5
|
9
|
19 ms
|
249 kb
|
OK
|
5
|
10
|
27 ms
|
507 kb
|
OK
|
5
|
11
|
1 ms
|
266 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
9 ms
|
245 kb
|
Incorect
|
0
|
17
|
9 ms
|
512 kb
|
Incorect
|
0
|
18
|
19 ms
|
512 kb
|
Incorect
|
0
|
19
|
29 ms
|
765 kb
|
Incorect
|
0
|
20
|
29 ms
|
770 kb
|
Incorect
|
0
|
Punctaj total
|
50
|