Pagini recente »
Borderou de evaluare (job #728883)
|
Borderou de evaluare (job #400585)
|
Borderou de evaluare (job #680349)
|
Borderou de evaluare (job #600781)
|
Borderou de evaluare (job #764960)
Borderou de evaluare (job #764960)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d",&n,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d",&cu);
| ^~~~~~~~~~~~~~~~~~~~
main.c:43:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
43 | fclose(fin);
| ^~~~~~~~~~~
main.c:18:5: note: call to 'fclose' here
18 | fclose(fin);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:42:5:
/usr/include/bits/stdio2.h:79:10: warning: 'q' 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:9:32: note: 'q' was declared here
9 | int n,c,i,e,min,tt,t,cu,cd,q,cf,tf,jf;
| ^
In function 'fprintf',
inlined from 'main' at main.c:42:5:
/usr/include/bits/stdio2.h:79:10: warning: 'cf' 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:9:34: note: 'cf' was declared here
9 | int n,c,i,e,min,tt,t,cu,cd,q,cf,tf,jf;
| ^~
In function 'fprintf',
inlined from 'main' at main.c:42:5:
/usr/include/bits/stdio2.h:79:10: warning: 'tf' 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:9:37: note: 'tf' was declared here
9 | int n,c,i,e,min,tt,t,cu,cd,q,cf,tf,jf;
| ^~
In function 'fprintf',
inlined from 'main' at main.c:42:5:
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
10 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
29 ms
|
249 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|