Pagini recente »
Borderou de evaluare (job #507144)
|
Borderou de evaluare (job #54582)
|
Borderou de evaluare (job #646442)
|
Borderou de evaluare (job #383130)
|
Borderou de evaluare (job #764542)
Borderou de evaluare (job #764542)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf( fin, "%d%d", &n, &c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf( fin, "%d", &x);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:75:5:
/usr/include/bits/stdio2.h:79:10: warning: 'cnt1' 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:10:18: note: 'cnt1' was declared here
10 | int n, c, x, cnt1, cnt2, i, mindif, minnr, primpoz, dif, ultimpoz, b, ramas;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:77:5:
/usr/include/bits/stdio2.h:79:10: warning: 'cnt2' 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:10:24: note: 'cnt2' was declared here
10 | int n, c, x, cnt1, cnt2, i, mindif, minnr, primpoz, dif, ultimpoz, b, ramas;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:71:5:
/usr/include/bits/stdio2.h:79:10: warning: 'ramas' 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:10:75: note: 'ramas' was declared here
10 | int n, c, x, cnt1, cnt2, i, mindif, minnr, primpoz, dif, ultimpoz, b, ramas;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
10 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
1 ms
|
241 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
249 kb
|
OK
|
10
|
7
|
1 ms
|
249 kb
|
OK
|
10
|
8
|
1 ms
|
249 kb
|
OK
|
10
|
9
|
9 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
100
|