Pagini recente »
Borderou de evaluare (job #75362)
|
Borderou de evaluare (job #612885)
|
Borderou de evaluare (job #45537)
|
Borderou de evaluare (job #541139)
|
Borderou de evaluare (job #759339)
Borderou de evaluare (job #759339)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:20:25: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
20 | fscanf( fin, "%I64d", &vec_sum_par[ind] );
| ~~~~^ ~~~~~~~~~~~~~~~~~
| | |
| | long long int *
| int *
| %I64lld
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf( fin, "%d%d", &cer, &nr_centrale );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf( fin, "%I64d", &vec_sum_par[ind] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:67:18: warning: 'etc' may be used uninitialized [-Wmaybe-uninitialized]
67 | if ( poz_max > etc ) {
| ^
main.c:13:14: note: 'etc' was declared here
13 | poz_max, etc, ind1, mini, rezx, divi;
| ^~~
main.c:67:18: warning: 'poz_max' may be used uninitialized [-Wmaybe-uninitialized]
67 | if ( poz_max > etc ) {
| ^
main.c:13:5: note: 'poz_max' was declared here
13 | poz_max, etc, ind1, mini, rezx, divi;
| ^~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:75:7:
/usr/include/bits/stdio2.h:79:10: warning: 'rezx' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:13:31: note: 'rezx' was declared here
13 | poz_max, etc, ind1, mini, rezx, divi;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p)
|
10
|
2
|
159 ms
|
770 kb
|
OK
|
4
|
3
|
199 ms
|
1028 kb
|
OK
|
4
|
4
|
19 ms
|
249 kb
|
OK
|
4
|
5
|
204 ms
|
1298 kb
|
OK
|
4
|
6
|
19 ms
|
249 kb
|
OK
|
4
|
7
|
29 ms
|
249 kb
|
a) incorect; b) incorect
|
0
|
8
|
1 ms
|
245 kb
|
a) OK; b) incorect
|
3
|
9
|
69 ms
|
507 kb
|
a) incorect; b) incorect
|
0
|
10
|
9 ms
|
249 kb
|
a) incorect; b) incorect
|
0
|
11
|
109 ms
|
774 kb
|
a) incorect; b) incorect
|
0
|
12
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
13
|
169 ms
|
1036 kb
|
a) incorect; b) incorect
|
0
|
14
|
128 ms
|
1032 kb
|
a) incorect; b) incorect
|
0
|
15
|
108 ms
|
770 kb
|
a) incorect; b) incorect
|
0
|
16
|
116 ms
|
761 kb
|
a) incorect; b) incorect
|
0
|
17
|
1 ms
|
245 kb
|
OK
|
4
|
18
|
2 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
19
|
1 ms
|
245 kb
|
OK
|
4
|
20
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
21
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
Punctaj total
|
41
|