Pagini recente »
Borderou de evaluare (job #327876)
|
Borderou de evaluare (job #834520)
Borderou de evaluare (job #834520)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:22:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf ( fin , "%d%d%d%d" , &c , &n , &p , &s );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf ( fin , "%d" , &col[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:69:13: warning: 'maxh' may be used uninitialized [-Wmaybe-uninitialized]
69 | fprintf ( fout , "%d" , maxh - minh );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:29: note: 'maxh' was declared here
19 | int c , n , p , s , i , maxh , minh , std , drd , mijd , mcol , prr , maxs , dif , r;
| ^~~~
main.c:69:13: warning: 'minh' may be used uninitialized [-Wmaybe-uninitialized]
69 | fprintf ( fout , "%d" , maxh - minh );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:36: note: 'minh' was declared here
19 | int c , n , p , s , i , maxh , minh , std , drd , mijd , mcol , prr , maxs , dif , r;
| ^~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:75:13:
/usr/include/bits/stdio2.h:111:10: warning: 'std' 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:19:43: note: 'std' was declared here
19 | int c , n , p , s , i , maxh , minh , std , drd , mijd , mcol , prr , maxs , dif , r;
| ^~~
In function 'fprintf',
inlined from 'main' at main.c:78:13:
/usr/include/bits/stdio2.h:111:10: warning: 'r' 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:19:88: note: 'r' was declared here
19 | int c , n , p , s , i , maxh , minh , std , drd , mijd , mcol , prr , maxs , dif , r;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
504 kb
|
OK
|
1
|
|
2
|
0 ms
|
296 kb
|
OK
|
2
|
|
3
|
0 ms
|
296 kb
|
OK
|
2
|
|
4
|
1 ms
|
296 kb
|
OK
|
2
|
|
5
|
2 ms
|
504 kb
|
OK
|
2
|
|
6
|
13 ms
|
552 kb
|
OK
|
2
|
|
7
|
0 ms
|
296 kb
|
OK
|
1
|
|
8
|
1 ms
|
504 kb
|
OK
|
1
|
|
9
|
0 ms
|
296 kb
|
OK
|
1
|
|
10
|
1 ms
|
504 kb
|
OK
|
1
|
|
11
|
1 ms
|
296 kb
|
OK
|
1
|
|
12
|
1 ms
|
296 kb
|
OK
|
2
|
|
13
|
2 ms
|
504 kb
|
OK
|
2
|
|
14
|
6 ms
|
552 kb
|
OK
|
2
|
|
15
|
12 ms
|
760 kb
|
OK
|
2
|
|
16
|
12 ms
|
880 kb
|
OK
|
2
|
|
17
|
13 ms
|
904 kb
|
OK
|
2
|
|
18
|
12 ms
|
552 kb
|
OK
|
2
|
|
19
|
13 ms
|
860 kb
|
OK
|
2
|
|
20
|
11 ms
|
552 kb
|
OK
|
2
|
|
21
|
12 ms
|
552 kb
|
OK
|
2
|
|
22
|
0 ms
|
296 kb
|
OK
|
2
|
|
23
|
1 ms
|
504 kb
|
OK
|
2
|
|
24
|
0 ms
|
296 kb
|
OK
|
2
|
|
25
|
1 ms
|
504 kb
|
OK
|
2
|
|
26
|
1 ms
|
504 kb
|
OK
|
2
|
|
27
|
2 ms
|
296 kb
|
OK
|
2
|
|
28
|
6 ms
|
656 kb
|
OK
|
2
|
|
29
|
11 ms
|
552 kb
|
OK
|
2
|
|
30
|
12 ms
|
760 kb
|
OK
|
2
|
|
31
|
12 ms
|
552 kb
|
OK
|
2
|
|
32
|
12 ms
|
552 kb
|
OK
|
2
|
|
33
|
13 ms
|
760 kb
|
OK
|
2
|
|
34
|
11 ms
|
552 kb
|
OK
|
3
|
|
35
|
12 ms
|
552 kb
|
OK
|
3
|
|
36
|
11 ms
|
552 kb
|
OK
|
3
|
|
37
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
38
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
39
|
0 ms
|
296 kb
|
Incorect
|
0
|
|
40
|
1 ms
|
504 kb
|
OK
|
2
|
|
41
|
1 ms
|
296 kb
|
Incorect
|
0
|
|
42
|
1 ms
|
296 kb
|
Incorect
|
0
|
|
43
|
4 ms
|
296 kb
|
Incorect
|
0
|
|
44
|
4 ms
|
296 kb
|
Incorect
|
0
|
|
45
|
4 ms
|
504 kb
|
Incorect
|
0
|
|
46
|
7 ms
|
552 kb
|
Incorect
|
0
|
|
47
|
6 ms
|
504 kb
|
Incorect
|
0
|
|
48
|
8 ms
|
764 kb
|
Incorect
|
0
|
|
49
|
12 ms
|
552 kb
|
Incorect
|
0
|
|
50
|
12 ms
|
552 kb
|
OK
|
2
|
|
51
|
12 ms
|
552 kb
|
OK
|
3
|
|
Punctaj total
|
76
|