Pagini recente »
Borderou de evaluare (job #770373)
Borderou de evaluare (job #770373)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin,"%d%d%d%d",&a,&b,&z,&d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:24:5:
/usr/include/bits/stdio2.h:79:10: warning: 'p1' 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:7:28: note: 'p1' was declared here
7 | int a, b, z, d, i, dc, p1, p2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
b) gresit
|
5
|
2
|
1 ms
|
245 kb
|
Ghinion
|
0
|
3
|
1 ms
|
245 kb
|
b) gresit
|
5
|
4
|
4 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
a) gresit
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Ghinion
|
0
|
8
|
1 ms
|
245 kb
|
a) gresit
|
5
|
9
|
9 ms
|
249 kb
|
OK
|
10
|
10
|
39 ms
|
249 kb
|
Ghinion
|
0
|
Punctaj total
|
50
|