Pagini recente »
Borderou de evaluare (job #754807)
|
Borderou de evaluare (job #772968)
|
Clasament concurs_01_bis_iq_academy_clasa_9
|
Borderou de evaluare (job #576329)
|
Borderou de evaluare (job #783753)
Borderou de evaluare (job #783753)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%d%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&mat[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:42: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
32 | if(lin-i+1<x1-x+1)
| ~~^~
main.c:6:22: note: 'x' was declared here
6 | int n,m,i,j,max1,x,y,x1,y1,t,lin,col;
| ^
main.c:32:42: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized]
32 | if(lin-i+1<x1-x+1)
| ~~^~
main.c:6:26: note: 'x1' was declared here
6 | int n,m,i,j,max1,x,y,x1,y1,t,lin,col;
| ^~
main.c:45:37: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
45 | fprintf(fout,"%d %d\n",x1-x+1,y1-y+1);
| ~~^~
main.c:6:24: note: 'y' was declared here
6 | int n,m,i,j,max1,x,y,x1,y1,t,lin,col;
| ^
main.c:45:37: warning: 'y1' may be used uninitialized [-Wmaybe-uninitialized]
45 | fprintf(fout,"%d %d\n",x1-x+1,y1-y+1);
| ~~^~
main.c:6:29: note: 'y1' was declared here
6 | int n,m,i,j,max1,x,y,x1,y1,t,lin,col;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
266 kb
|
OK
|
10
|
3
|
2 ms
|
245 kb
|
OK
|
10
|
4
|
2 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
249 kb
|
OK
|
10
|
6
|
2 ms
|
245 kb
|
OK
|
10
|
7
|
9 ms
|
245 kb
|
OK
|
10
|
8
|
69 ms
|
249 kb
|
OK
|
10
|
9
|
2 ms
|
249 kb
|
OK
|
10
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
100
|