Pagini recente »
Borderou de evaluare (job #826480)
|
Borderou de evaluare (job #273114)
|
Borderou de evaluare (job #641675)
|
Borderou de evaluare (job #272921)
|
Borderou de evaluare (job #844257)
Borderou de evaluare (job #844257)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:17: warning: unused variable 'c' [-Wunused-variable]
10 | int n,d,i,s,c,max,maxnr;
| ^
main.c:10:15: warning: unused variable 's' [-Wunused-variable]
10 | int n,d,i,s,c,max,maxnr;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:26:5:
/usr/include/bits/stdio2.h:111:10: warning: 'maxnr' 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:10:23: note: 'maxnr' was declared here
10 | int n,d,i,s,c,max,maxnr;
| ^~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
508 kb
|
OK
|
10
|
|
2
|
0 ms
|
292 kb
|
OK
|
10
|
|
3
|
3 ms
|
548 kb
|
Incorect
|
0
|
|
4
|
3 ms
|
764 kb
|
Incorect
|
0
|
|
5
|
8 ms
|
1788 kb
|
Incorect
|
0
|
|
6
|
13 ms
|
2300 kb
|
Incorect
|
0
|
|
7
|
18 ms
|
2596 kb
|
Incorect
|
0
|
|
8
|
23 ms
|
3580 kb
|
Incorect
|
0
|
|
9
|
26 ms
|
3800 kb
|
Incorect
|
0
|
|
10
|
43 ms
|
5372 kb
|
Incorect
|
0
|
|
Punctaj total
|
20
|