Pagini recente »
Borderou de evaluare (job #727675)
Borderou de evaluare (job #727675)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:110:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
110 | if (ok == 0)
| ^~
main.cpp:112:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
112 | ii--;
| ^~
main.cpp:11:33: warning: unused variable 'd' [-Wunused-variable]
11 | int n, h, maxh, minh, t, p, d, s, r, c, i, hh, ii, pozmaxh, sum, pp, poz, eco, ok, ppozmaxh;
| ^
main.cpp:11:39: warning: unused variable 'r' [-Wunused-variable]
11 | int n, h, maxh, minh, t, p, d, s, r, c, i, hh, ii, pozmaxh, sum, pp, poz, eco, ok, ppozmaxh;
| ^
main.cpp:77:7: warning: 'ppozmaxh' may be used uninitialized [-Wmaybe-uninitialized]
77 | if (ppozmaxh == 0 && v[1] > maxh)
| ^~
main.cpp:11:88: note: 'ppozmaxh' was declared here
11 | int n, h, maxh, minh, t, p, d, s, r, c, i, hh, ii, pozmaxh, sum, pp, poz, eco, ok, ppozmaxh;
| ^~~~~~~~
main.cpp:82:21: warning: 'pozmaxh' may be used uninitialized [-Wmaybe-uninitialized]
82 | eco = pozmaxh - ppozmaxh - 1;
| ~~~~~~~~^~~~~~~~~~
main.cpp:11:56: note: 'pozmaxh' was declared here
11 | int n, h, maxh, minh, t, p, d, s, r, c, i, hh, ii, pozmaxh, sum, pp, poz, eco, ok, ppozmaxh;
| ^~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
241 kb
|
OK
|
1
|
|
2
|
3 ms
|
245 kb
|
OK
|
2
|
|
3
|
2 ms
|
245 kb
|
OK
|
2
|
|
4
|
1 ms
|
245 kb
|
OK
|
2
|
|
5
|
1 ms
|
249 kb
|
OK
|
2
|
|
6
|
29 ms
|
249 kb
|
OK
|
2
|
|
7
|
1 ms
|
245 kb
|
OK
|
1
|
|
8
|
1 ms
|
245 kb
|
OK
|
1
|
|
9
|
1 ms
|
245 kb
|
OK
|
1
|
|
10
|
1 ms
|
245 kb
|
OK
|
1
|
|
11
|
1 ms
|
245 kb
|
OK
|
1
|
|
12
|
1 ms
|
249 kb
|
OK
|
2
|
|
13
|
1 ms
|
249 kb
|
OK
|
2
|
|
14
|
19 ms
|
503 kb
|
OK
|
2
|
|
15
|
139 ms
|
503 kb
|
OK
|
2
|
|
16
|
29 ms
|
507 kb
|
OK
|
2
|
|
17
|
39 ms
|
512 kb
|
OK
|
2
|
|
18
|
39 ms
|
507 kb
|
OK
|
2
|
|
19
|
29 ms
|
512 kb
|
OK
|
2
|
|
20
|
29 ms
|
503 kb
|
OK
|
2
|
|
21
|
29 ms
|
512 kb
|
OK
|
2
|
|
22
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
23
|
3 ms
|
249 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
25
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
26
|
2 ms
|
249 kb
|
Incorect
|
0
|
|
27
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
28
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
29
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
30
|
2 ms
|
249 kb
|
Incorect
|
0
|
|
31
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
32
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
33
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
34
|
4 ms
|
249 kb
|
Incorect
|
0
|
|
35
|
4 ms
|
249 kb
|
Incorect
|
0
|
|
36
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
37
|
1 ms
|
245 kb
|
OK
|
2
|
|
38
|
1 ms
|
245 kb
|
OK
|
2
|
|
39
|
2 ms
|
245 kb
|
OK
|
2
|
|
40
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
41
|
1 ms
|
245 kb
|
OK
|
2
|
|
42
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
43
|
9 ms
|
503 kb
|
Incorect
|
0
|
|
44
|
39 ms
|
249 kb
|
OK
|
2
|
|
45
|
9 ms
|
249 kb
|
Incorect
|
0
|
|
46
|
19 ms
|
503 kb
|
OK
|
2
|
|
47
|
269 ms
|
507 kb
|
OK
|
2
|
|
48
|
69 ms
|
507 kb
|
OK
|
2
|
|
49
|
609 ms
|
507 kb
|
Time limit exceeded
|
0
|
|
50
|
29 ms
|
507 kb
|
Incorect
|
0
|
|
51
|
609 ms
|
507 kb
|
Time limit exceeded
|
0
|
|
Punctaj total
|
52
|