Pagini recente »
Borderou de evaluare (job #815437)
Borderou de evaluare (job #815437)
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(in, "%d %d ",&j,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(in, "%d ",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:48:24: warning: 'poz4' may be used uninitialized [-Wmaybe-uninitialized]
48 | for(i = poz3 + 1;i <= poz4;i++){
| ~~^~~~~~~
main.c:9:56: note: 'poz4' was declared here
9 | int j, n, i, max = 0, poz = 0, poz2 = -1, ok, poz3, poz4, ok2 = 0;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
4
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
1 ms
|
245 kb
|
OK
|
4
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
266 kb
|
OK
|
4
|
6
|
1 ms
|
249 kb
|
OK
|
4
|
7
|
1 ms
|
270 kb
|
Incorect
|
0
|
8
|
1 ms
|
512 kb
|
OK
|
4
|
9
|
9 ms
|
237 kb
|
OK
|
4
|
10
|
9 ms
|
249 kb
|
Incorect
|
0
|
11
|
9 ms
|
237 kb
|
Incorect
|
0
|
12
|
9 ms
|
237 kb
|
OK
|
4
|
13
|
9 ms
|
237 kb
|
Incorect
|
0
|
14
|
9 ms
|
237 kb
|
OK
|
4
|
15
|
9 ms
|
499 kb
|
Incorect
|
0
|
16
|
1 ms
|
249 kb
|
Incorect
|
0
|
17
|
9 ms
|
237 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
OK
|
4
|
19
|
9 ms
|
237 kb
|
Incorect
|
0
|
20
|
9 ms
|
237 kb
|
Incorect
|
0
|
21
|
9 ms
|
237 kb
|
Incorect
|
0
|
22
|
1 ms
|
249 kb
|
OK
|
4
|
23
|
9 ms
|
237 kb
|
OK
|
4
|
24
|
1 ms
|
270 kb
|
OK
|
4
|
25
|
9 ms
|
258 kb
|
OK
|
4
|
Punctaj total
|
56
|