Problem rblock
User DihydrogenMonoxide
Submission Time 2022-12-29 01:58:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rblock.cpp:3:5: error: ‘vector’ does not name a type
3 | vector<pair<int, int> > adjlist [1000000]; //node, weight. size of array is max number of edges
| ^~~~~~
rblock.cpp:6:5: error: ‘vector’ does not name a type
6 | vector<int> seq;
| ^~~~~~
rblock.cpp: In function ‘long long int path(long long int)’:
rblock.cpp:11:5: error: ‘seq’ was not declared in this scope; did you mean ‘__pstl::execution::v1::seq’?
11 | seq.push_back(parent[n]);
| ^~~
| __pstl::execution::v1::seq
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 rblock.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:112:28: note: ‘__pstl::execution::v1::seq’ declared here
112 | constexpr sequenced_policy seq{};
|