Pagini recente »
Borderou de evaluare (job #412473)
|
Borderou de evaluare (job #133833)
|
Borderou de evaluare (job #674193)
|
Borderou de evaluare (job #198943)
|
Borderou de evaluare (job #724755)
Borderou de evaluare (job #724755)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
11 | fscanf(fin,"%d",&v[0]);
| ~^ ~~~~~
| | |
| | long long int *
| int *
| %lld
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%lld%lld",&cr,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&v[0]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%lld",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:81:9:
/usr/include/bits/stdio2.h:79:10: warning: 'imp' 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:6:60: note: 'imp' was declared here
6 | long long cr,n,i,nrdiv,d,pas,maxc,cmax,mins,maxs,min,p,imp,j;
| ^~~
main.c:81:9: warning: 'maxc' may be used uninitialized [-Wmaybe-uninitialized]
81 | fprintf(fout,"%lld %lld",imp,maxc+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:6:34: note: 'maxc' was declared here
6 | long long cr,n,i,nrdiv,d,pas,maxc,cmax,mins,maxs,min,p,imp,j;
| ^~~~
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
|
2 ms
|
114 kb
|
OK
|
4
|
3
|
3 ms
|
245 kb
|
OK
|
4
|
4
|
2 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
245 kb
|
OK
|
4
|
7
|
9 ms
|
249 kb
|
a) OK; b) incorect
|
3
|
8
|
1 ms
|
229 kb
|
a) OK; b) incorect
|
3
|
9
|
39 ms
|
499 kb
|
a) OK; b) incorect
|
3
|
10
|
2 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
11
|
39 ms
|
774 kb
|
a) OK; b) incorect
|
2
|
12
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
13
|
69 ms
|
1036 kb
|
a) incorect; b) incorect
|
0
|
14
|
69 ms
|
1032 kb
|
a) OK; b) incorect
|
2
|
15
|
69 ms
|
770 kb
|
a) incorect; b) incorect
|
0
|
16
|
59 ms
|
770 kb
|
a) incorect; b) incorect
|
0
|
17
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
18
|
2 ms
|
114 kb
|
a) incorect; b) incorect
|
0
|
19
|
1 ms
|
241 kb
|
a) incorect; b) incorect
|
0
|
20
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
21
|
1 ms
|
241 kb
|
a) OK; b) incorect
|
2
|
Punctaj total
|
45
|