Problem | employee |
---|---|
User | Sealions |
Submission Time | 2022-12-29 10:41:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
employee.cpp: In function ‘void roottree(int, int)’:
employee.cpp:5:5: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
5 | par[x] = p; // store parent
| ^~~
| __pstl::execution::v1::par
In file included from /usr/include/c++/9/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from employee.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared here
114 | constexpr parallel_policy par{};
| ^~~
employee.cpp:6:18: error: ‘adj’ was not declared in this scope
6 | for (int i : adj[x]) {
| ^~~
employee.cpp: At global scope:
employee.cpp:12:9: error: expected constructor, destructor, or type conversion before ‘(’ token
12 | roottree(0, -1)