Pagini recente »
Borderou de evaluare (job #193067)
|
Borderou de evaluare (job #183358)
|
Borderou de evaluare (job #400648)
|
Borderou de evaluare (job #846924)
|
Borderou de evaluare (job #835079)
Borderou de evaluare (job #835079)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf ( fin , "%d%d%d%d" , &niv , &n , &m , &z );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf ( fin , "%d%d" , &lz , &cz );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf ( fin , "%d" , &a );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf ( fin , "%d%d" , &la , &ca );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:65:13: warning: 'ls' may be used uninitialized [-Wmaybe-uninitialized]
65 | fprintf ( fout , "%d %d" , ls + 1 , cs + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:27: note: 'ls' was declared here
11 | int niv , n , m , z , ls , lz , cz , a , la , ca , cs , i , newl , newc , ds , luns;
| ^~
main.c:65:13: warning: 'cs' may be used uninitialized [-Wmaybe-uninitialized]
65 | fprintf ( fout , "%d %d" , ls + 1 , cs + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:56: note: 'cs' was declared here
11 | int niv , n , m , z , ls , lz , cz , a , la , ca , cs , i , newl , newc , ds , luns;
| ^~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:68:13:
/usr/include/bits/stdio2.h:111:10: warning: 'luns' may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:11:84: note: 'luns' was declared here
11 | int niv , n , m , z , ls , lz , cz , a , la , ca , cs , i , newl , newc , ds , luns;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
296 kb
|
OK
|
4
|
|
2
|
1 ms
|
504 kb
|
OK
|
4
|
|
3
|
1 ms
|
504 kb
|
OK
|
4
|
|
4
|
0 ms
|
296 kb
|
OK
|
4
|
|
5
|
1 ms
|
296 kb
|
OK
|
4
|
|
6
|
1 ms
|
552 kb
|
OK
|
4
|
|
7
|
12 ms
|
1320 kb
|
OK
|
4
|
|
8
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
9
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
296 kb
|
OK
|
4
|
|
11
|
1 ms
|
552 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
552 kb
|
Incorect
|
0
|
|
13
|
2 ms
|
1016 kb
|
Killed by signal 11.
|
0
|
|
14
|
1 ms
|
1064 kb
|
Killed by signal 11.
|
0
|
|
15
|
1 ms
|
1320 kb
|
Killed by signal 11.
|
0
|
|
16
|
1 ms
|
760 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
808 kb
|
Incorect
|
0
|
|
18
|
2 ms
|
1064 kb
|
Incorect
|
0
|
|
19
|
10 ms
|
1532 kb
|
Incorect
|
0
|
|
20
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
21
|
3 ms
|
1320 kb
|
Incorect
|
0
|
|
22
|
2 ms
|
1528 kb
|
Incorect
|
0
|
|
23
|
1 ms
|
1064 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
1528 kb
|
Incorect
|
0
|
|
25
|
1 ms
|
1320 kb
|
Incorect
|
0
|
|
Punctaj total
|
32
|