Problem | factories |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-14 11:39:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
factories.cpp: In function ‘void build(long long int)’:
factories.cpp:49:9: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’?
49 | dfs(v.first);
| ^~~
| ffs
factories.cpp: In function ‘void update(long long int)’:
factories.cpp:79:25: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
79 | for (int v=u; v!=-1; v=par[v])mindist[v]=min(mindist[v], eval(v, u));
| ^~~
| __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 factories.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared here
114 | constexpr parallel_policy par{};
|