Pagini recente »
Borderou de evaluare (job #739119)
Borderou de evaluare (job #739119)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf( fin, "%d%d", &n, &m );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fscanf( fin, "%d%d", &retete[ i ][ 0 ], &retete[ i ][ 1 ] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:35:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | fscanf( fin, "%d", &numere_medicamente[ i ][ x ] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:42:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | fscanf( fin, "%d", &preturi[ i ] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:104:7: warning: 'semnmin' may be used uninitialized [-Wmaybe-uninitialized]
104 | if( semnmin == 1 )
| ^
main.c:23:56: note: 'semnmin' was declared here
23 | int m, n, i, j, minim = 0, sum, p, copie, x, semn, semnmin;
| ^~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
14 ms
|
245 kb
|
OK
|
10
|
2
|
4 ms
|
245 kb
|
OK
|
10
|
3
|
4 ms
|
245 kb
|
OK
|
10
|
4
|
4 ms
|
245 kb
|
OK
|
10
|
5
|
7 ms
|
245 kb
|
OK
|
10
|
6
|
7 ms
|
245 kb
|
OK
|
10
|
7
|
11 ms
|
241 kb
|
OK
|
10
|
8
|
14 ms
|
245 kb
|
OK
|
10
|
9
|
13 ms
|
245 kb
|
OK
|
10
|
10
|
14 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
100
|