Pagini recente »
Borderou de evaluare (job #835038)
|
Borderou de evaluare (job #835078)
Borderou de evaluare (job #835078)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf ( fin , "%d%d%d%d" , &niv , &n , &m , &z );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf ( fin , "%d%d" , &lz , &cz );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf ( fin , "%d" , &a );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf ( fin , "%d%d" , &la , &ca );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:46:13: warning: 'ls' may be used uninitialized [-Wmaybe-uninitialized]
46 | fprintf ( fout , "%d %d" , ls + 1 , cs + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:10:27: note: 'ls' was declared here
10 | int niv , n , m , z , ls , lz , cz , a , la , ca , cs , i , newl , newc , ds;
| ^~
main.c:46:13: warning: 'cs' may be used uninitialized [-Wmaybe-uninitialized]
46 | fprintf ( fout , "%d %d" , ls + 1 , cs + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:10:56: note: 'cs' was declared here
10 | int niv , n , m , z , ls , lz , cz , a , la , ca , cs , i , newl , newc , ds;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
504 kb
|
OK
|
4
|
|
2
|
0 ms
|
504 kb
|
OK
|
4
|
|
3
|
0 ms
|
296 kb
|
OK
|
4
|
|
4
|
1 ms
|
504 kb
|
OK
|
4
|
|
5
|
1 ms
|
296 kb
|
OK
|
4
|
|
6
|
1 ms
|
760 kb
|
OK
|
4
|
|
7
|
13 ms
|
1528 kb
|
OK
|
4
|
|
8
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
504 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
504 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
760 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
760 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
1016 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
1064 kb
|
Incorect
|
0
|
|
15
|
1 ms
|
1320 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
760 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
1016 kb
|
Incorect
|
0
|
|
18
|
2 ms
|
1272 kb
|
Incorect
|
0
|
|
19
|
10 ms
|
1528 kb
|
Incorect
|
0
|
|
20
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
21
|
3 ms
|
1320 kb
|
Incorect
|
0
|
|
22
|
2 ms
|
1320 kb
|
Incorect
|
0
|
|
23
|
1 ms
|
1272 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
1320 kb
|
Incorect
|
0
|
|
25
|
1 ms
|
1320 kb
|
Incorect
|
0
|
|
Punctaj total
|
28
|