Pagini recente »
Borderou de evaluare (job #772969)
|
Borderou de evaluare (job #490752)
|
Borderou de evaluare (job #655966)
|
Clasament 2022-02-16-clasa-6-tema-17
|
Borderou de evaluare (job #652240)
Borderou de evaluare (job #652240)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
54 | for(int i = 9; i >= 0; i--)
| ^~~
main.cpp:64:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
64 | if(fr_imp_min != -1 && fr[fr_imp_max] > 1 || fr[fr_imp_min] > 1)
| ^~
main.cpp:64:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
64 | if(fr_imp_min != -1 && fr[fr_imp_max] > 1 || fr[fr_imp_min] > 1)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:64:65: warning: array subscript -1 is below array bounds of 'int [10]' [-Warray-bounds]
64 | if(fr_imp_min != -1 && fr[fr_imp_max] > 1 || fr[fr_imp_min] > 1)
| ~~~~~~~~~~~~~^
main.cpp:11:17: note: while referencing 'fr'
11 | int v[DIM + 1], fr[10], pal[DIM + 1];
| ^~
main.cpp:65:28: warning: array subscript -1 is below array bounds of 'int [10]' [-Warray-bounds]
65 | while(fr[fr_imp_min]) {
| ~~~~~~~~~~~~~^
main.cpp:11:17: note: while referencing 'fr'
11 | int v[DIM + 1], fr[10], pal[DIM + 1];
| ^~
main.cpp:67:24: warning: array subscript -1 is below array bounds of 'int [10]' [-Warray-bounds]
67 | fr[fr_imp_min]--;
| ~~~~~~~~~~~~~^
main.cpp:11:17: note: while referencing 'fr'
11 | int v[DIM + 1], fr[10], pal[DIM + 1];
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
4 ms
|
114 kb
|
OK
|
3
|
2
|
5 ms
|
114 kb
|
OK
|
3
|
3
|
4 ms
|
114 kb
|
OK
|
3
|
4
|
4 ms
|
114 kb
|
OK
|
3
|
5
|
5 ms
|
110 kb
|
OK
|
3
|
6
|
19 ms
|
512 kb
|
OK
|
3
|
7
|
36 ms
|
507 kb
|
OK
|
3
|
8
|
38 ms
|
503 kb
|
OK
|
3
|
9
|
37 ms
|
507 kb
|
OK
|
3
|
10
|
39 ms
|
507 kb
|
OK
|
3
|
11
|
4 ms
|
118 kb
|
Incorect
|
0
|
12
|
4 ms
|
118 kb
|
Incorect
|
0
|
13
|
3 ms
|
118 kb
|
Incorect
|
0
|
14
|
4 ms
|
114 kb
|
OK
|
3
|
15
|
4 ms
|
110 kb
|
Incorect
|
0
|
16
|
4 ms
|
118 kb
|
Incorect
|
0
|
17
|
4 ms
|
118 kb
|
Incorect
|
0
|
18
|
4 ms
|
114 kb
|
Incorect
|
0
|
19
|
3 ms
|
114 kb
|
Incorect
|
0
|
20
|
4 ms
|
114 kb
|
Incorect
|
0
|
21
|
4 ms
|
118 kb
|
Incorect
|
0
|
22
|
5 ms
|
114 kb
|
Incorect
|
0
|
23
|
40 ms
|
741 kb
|
Incorect
|
0
|
24
|
68 ms
|
925 kb
|
Incorect
|
0
|
25
|
70 ms
|
933 kb
|
OK
|
3
|
26
|
36 ms
|
753 kb
|
Incorect
|
0
|
27
|
40 ms
|
512 kb
|
Incorect
|
0
|
28
|
30 ms
|
512 kb
|
Incorect
|
0
|
29
|
38 ms
|
745 kb
|
Incorect
|
0
|
30
|
40 ms
|
507 kb
|
Incorect
|
0
|
31
|
34 ms
|
512 kb
|
Incorect
|
0
|
32
|
34 ms
|
512 kb
|
Incorect
|
0
|
33
|
67 ms
|
929 kb
|
Incorect
|
0
|
34
|
35 ms
|
507 kb
|
Incorect
|
0
|
35
|
54 ms
|
839 kb
|
Incorect
|
0
|
36
|
57 ms
|
843 kb
|
Incorect
|
0
|
Punctaj total
|
33
|