Pagini recente »
Borderou de evaluare (job #810254)
|
Borderou de evaluare (job #344682)
|
Borderou de evaluare (job #466018)
|
Borderou de evaluare (job #394694)
|
Borderou de evaluare (job #768506)
Borderou de evaluare (job #768506)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:65:56: warning: unused variable 'ns' [-Wunused-variable]
65 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~
main.c:65:13: warning: unused variable 'con' [-Wunused-variable]
65 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d%d",&t,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:56:15: warning: 'cma' may be used uninitialized [-Wmaybe-uninitialized]
56 | if(cmi<cma)
| ^
main.c:20:34: note: 'cma' was declared here
20 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux;
| ^~~
main.c:56:15: warning: 'cmi' may be used uninitialized [-Wmaybe-uninitialized]
56 | if(cmi<cma)
| ^
main.c:20:38: note: 'cmi' was declared here
20 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux;
| ^~~
main.c:105:30: warning: 'cma' may be used uninitialized [-Wmaybe-uninitialized]
105 | w[i]=w[i]+cif[cma];
| ~~~^~~~~
main.c:65:34: note: 'cma' was declared here
65 | int con=0,c,cn,max,min,j,cma,cmi,ii,aux,cons=0,ns=0;
| ^~~
main.c:106:33: warning: 'cmi' may be used uninitialized [-Wmaybe-uninitialized]
106 | w[i]=w[i]*10+cif[cmi];
| ~~~^~~~~
main.c:65:38: note: 'cmi' was declared here
65 | 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
|
507 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
249 kb
|
OK
|
5
|
8
|
9 ms
|
512 kb
|
OK
|
5
|
9
|
19 ms
|
249 kb
|
OK
|
5
|
10
|
29 ms
|
507 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
507 kb
|
Incorect
|
0
|
15
|
1 ms
|
270 kb
|
Incorect
|
0
|
16
|
99 ms
|
274 kb
|
Incorect
|
0
|
17
|
379 ms
|
512 kb
|
Incorect
|
0
|
18
|
509 ms
|
512 kb
|
Time limit exceeded
|
0
|
19
|
509 ms
|
774 kb
|
Time limit exceeded
|
0
|
20
|
509 ms
|
790 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
50
|