Pagini recente »
Borderou de evaluare (job #771731)
|
Borderou de evaluare (job #16674)
|
Borderou de evaluare (job #40826)
|
Borderou de evaluare (job #770198)
|
Borderou de evaluare (job #816659)
Borderou de evaluare (job #816659)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d", &cer, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d", &v[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:43:15: warning: 'maxi' may be used uninitialized [-Wmaybe-uninitialized]
43 | if(frecv[i] >= maxi){
| ^
main.c:12:39: note: 'maxi' was declared here
12 | int cer, n , cnt, ok, nr, ind, i, maxi, imax;
| ^~~~
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: 'imax' 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:12:45: note: 'imax' was declared here
12 | int cer, n , cnt, ok, nr, ind, i, maxi, imax;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
512 kb
|
Incorect
|
0
|
2
|
2 ms
|
245 kb
|
OK
|
4
|
3
|
19 ms
|
245 kb
|
OK
|
2
|
4
|
19 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
OK
|
2
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
8
|
2 ms
|
512 kb
|
Incorect
|
0
|
9
|
152 ms
|
1720 kb
|
OK
|
2
|
10
|
139 ms
|
249 kb
|
OK
|
4
|
11
|
1 ms
|
270 kb
|
Incorect
|
0
|
12
|
9 ms
|
507 kb
|
OK
|
2
|
13
|
9 ms
|
245 kb
|
OK
|
4
|
14
|
1 ms
|
274 kb
|
Incorect
|
0
|
15
|
49 ms
|
503 kb
|
OK
|
2
|
16
|
39 ms
|
507 kb
|
OK
|
4
|
17
|
1 ms
|
274 kb
|
Incorect
|
0
|
18
|
49 ms
|
503 kb
|
OK
|
2
|
19
|
39 ms
|
1036 kb
|
OK
|
4
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
21
|
1 ms
|
266 kb
|
OK
|
2
|
22
|
1 ms
|
245 kb
|
OK
|
2
|
23
|
1 ms
|
245 kb
|
OK
|
4
|
24
|
2 ms
|
249 kb
|
Incorect
|
0
|
25
|
1 ms
|
249 kb
|
OK
|
2
|
26
|
1 ms
|
249 kb
|
OK
|
4
|
27
|
2 ms
|
249 kb
|
Incorect
|
0
|
28
|
9 ms
|
249 kb
|
OK
|
2
|
29
|
9 ms
|
249 kb
|
OK
|
4
|
30
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
60
|