Problem rblock
User DihydrogenMonoxide
Submission Time 2022-12-29 02:03:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rblock.cpp:4:5: error: ‘vector’ does not name a type
4 | vector<pair<int, int> > adjlist [1000000]; //node, weight. size of array is max number of edges
| ^~~~~~
rblock.cpp:7:5: error: ‘vector’ does not name a type
7 | vector<int> seq;
| ^~~~~~
rblock.cpp: In function ‘long long int path(long long int)’:
rblock.cpp:12:5: error: ‘seq’ was not declared in this scope; did you mean ‘__pstl::execution::v1::seq’?
12 | 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{};
|