Pagini recente »
Borderou de evaluare (job #506893)
|
Borderou de evaluare (job #803215)
|
Borderou de evaluare (job #328591)
|
Borderou de evaluare (job #164764)
|
Borderou de evaluare (job #740992)
Borderou de evaluare (job #740992)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin,"%d",&st[c]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:26:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | fscanf(fin,"%d",&gol);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:30:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(fin,"%d",&a);
| ^~~~~~~~~~~~~~~~~~~
main.c:45:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | fscanf(fin,"%d",&gol);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:53:5: warning: 'lmax' may be used uninitialized [-Wmaybe-uninitialized]
53 | fprintf(fout,"%d %d %d",max,cmax+1,lmax+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:59: note: 'lmax' was declared here
8 | int n,m,nrl,diag_st,diag_dr,l,c,max,lat,gol,a,diag,sv,lmax,cmax,j,cg;
| ^~~~
main.c:53:5: warning: 'cmax' may be used uninitialized [-Wmaybe-uninitialized]
53 | fprintf(fout,"%d %d %d",max,cmax+1,lmax+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:64: note: 'cmax' was declared here
8 | int n,m,nrl,diag_st,diag_dr,l,c,max,lat,gol,a,diag,sv,lmax,cmax,j,cg;
| ^~~~
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
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
259 ms
|
249 kb
|
OK
|
5
|
12
|
239 ms
|
249 kb
|
OK
|
5
|
13
|
249 ms
|
245 kb
|
OK
|
5
|
14
|
249 ms
|
249 kb
|
OK
|
5
|
15
|
558 ms
|
249 kb
|
OK
|
5
|
16
|
565 ms
|
139 kb
|
OK
|
5
|
17
|
489 ms
|
245 kb
|
OK
|
5
|
18
|
564 ms
|
249 kb
|
OK
|
5
|
19
|
529 ms
|
249 kb
|
OK
|
5
|
20
|
539 ms
|
249 kb
|
OK
|
5
|
Punctaj total
|
100
|