Problem rainbowroad
User PlayVoltz
Submission Time 2023-10-26 14:14:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowroad.cpp: In function ‘long long int rainbowroad(long long int, long long int, long long int)’:
rainbowroad.cpp:18:22: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
18 | if (child != par) {
| ^~~
| __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 rainbowroad.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared here
114 | constexpr parallel_policy par{};
| ^~~
rainbowroad.cpp: In function ‘int32_t main()’:
rainbowroad.cpp:31:62: error: expected ‘)’ before ‘;’ token
31 | dp.resize(n, vector<vector<int>>(8, vector<int>(128, -1));