Pagini recente »
Borderou de evaluare (job #359058)
|
Borderou de evaluare (job #808260)
Borderou de evaluare (job #808260)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &N, &H);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:33:20: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
33 | if (vf - st > rez)
| ~~~^~~~
main.c:14:18: note: 'st' was declared here
14 | int N, H, i, st, vf = 0, rez = 0;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 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
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
29 ms
|
512 kb
|
Incorect
|
0
|
8
|
49 ms
|
507 kb
|
Incorect
|
0
|
9
|
89 ms
|
1032 kb
|
Incorect
|
0
|
10
|
149 ms
|
1298 kb
|
Incorect
|
0
|
11
|
189 ms
|
1839 kb
|
Incorect
|
0
|
12
|
189 ms
|
2609 kb
|
Incorect
|
0
|
13
|
259 ms
|
2342 kb
|
Incorect
|
0
|
14
|
309 ms
|
4198 kb
|
Incorect
|
0
|
15
|
379 ms
|
3129 kb
|
Incorect
|
0
|
16
|
449 ms
|
3653 kb
|
Incorect
|
0
|
17
|
539 ms
|
4177 kb
|
Incorect
|
0
|
18
|
549 ms
|
4169 kb
|
Incorect
|
0
|
19
|
509 ms
|
7852 kb
|
OK
|
5
|
20
|
539 ms
|
6295 kb
|
OK
|
5
|
Punctaj total
|
15
|