Pagini recente »
Borderou de evaluare (job #368725)
|
Borderou de evaluare (job #815628)
|
Borderou de evaluare (job #740544)
|
Borderou de evaluare (job #818406)
|
Borderou de evaluare (job #812700)
Borderou de evaluare (job #812700)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:71: warning: variable 'cont_n' set but not used [-Wunused-but-set-variable]
33 | int n, b, a, i, j, c, cop, lungime,lungime_curenta, leg, cont, x, cont_n, pl,prefix,k,poz,poz_prev,max,aa,bb;
| ^~~~~~
main.c:34:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | fscanf(fin, "%d%d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:36:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | fscanf(fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:122:9:
/usr/include/bits/stdio2.h:111:10: warning: 'aa' 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:33:108: note: 'aa' was declared here
33 | int n, b, a, i, j, c, cop, lungime,lungime_curenta, leg, cont, x, cont_n, pl,prefix,k,poz,poz_prev,max,aa,bb;
| ^~
In function 'fprintf',
inlined from 'main' at main.c:122:9:
/usr/include/bits/stdio2.h:111:10: warning: 'bb' 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:33:111: note: 'bb' was declared here
33 | int n, b, a, i, j, c, cop, lungime,lungime_curenta, leg, cont, x, cont_n, pl,prefix,k,poz,poz_prev,max,aa,bb;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
69 ms
|
503 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
OK
|
10
|
3
|
1 ms
|
249 kb
|
OK
|
10
|
4
|
39 ms
|
270 kb
|
OK
|
10
|
5
|
39 ms
|
249 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
29 ms
|
249 kb
|
OK
|
10
|
8
|
509 ms
|
507 kb
|
Time limit exceeded
|
0
|
9
|
249 ms
|
503 kb
|
OK
|
10
|
10
|
1 ms
|
507 kb
|
OK
|
10
|
Punctaj total
|
80
|