Pagini recente »
Borderou de evaluare (job #808030)
Borderou de evaluare (job #808030)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d%d%d",&c,&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:30:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(fin,"%d",&v[m-1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:49:9:
/usr/include/bits/stdio2.h:111:10: warning: 'c2' 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:9:41: note: 'c2' was declared here
9 | int c, n, m, i, j, max=0, c1, nr=0, c2;
| ^~
In function 'fprintf',
inlined from 'main' at main.c:46:9:
/usr/include/bits/stdio2.h:111:10: warning: 'c1' 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:9:31: note: 'c1' was declared here
9 | int c, n, m, i, j, max=0, c1, nr=0, c2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana - puncte din oficiu
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
2 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
2 ms
|
249 kb
|
Incorect
|
0
|
6
|
259 ms
|
512 kb
|
Incorect
|
0
|
7
|
1009 ms
|
249 kb
|
Time limit exceeded
|
0
|
8
|
1 ms
|
266 kb
|
OK
|
5
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
2 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
9 ms
|
249 kb
|
Incorect
|
0
|
15
|
369 ms
|
249 kb
|
Incorect
|
0
|
16
|
759 ms
|
249 kb
|
Incorect
|
0
|
17
|
279 ms
|
249 kb
|
OK
|
5
|
18
|
619 ms
|
245 kb
|
Incorect
|
0
|
19
|
299 ms
|
249 kb
|
OK
|
5
|
Punctaj total
|
65
|