LCA
- [1] 2020-02-29 12:21 (0)
- [2] 2020-02-29 12:22 (0)
- [3] 2020-02-29 12:23 (0)
- [4] 2020-02-29 12:32 (0)
- [5] 2020-02-29 12:35 (0)
- [6] 2020-02-29 12:39 (0)
- [7] 2020-02-29 12:47 (100)
- [8] 2020-02-29 12:55 (100)
Taškai: 0
Compile: FAIL
lca.cpp: In function ‘void Deep(int, int*, int*)’: lca.cpp:70:52: error: invalid types ‘int*[<unresolved overloaded function type>]’ for array subscript L[i] = ElementDeep(n, T, L, T[index]) + 1; ^ lca.cpp: In function ‘int main()’: lca.cpp:126:20: error: ‘L’ was not declared in this scope Deep(n, T, L); ^ lca.cpp:134:37: error: ‘p’ was not declared in this scope cout << LCA(n, P, T, L, p, q) + 1 << '\n'; ^
nr. | result | time | message |
---|