Problem | power |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-24 23:39:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
power.cpp:8:1: error: ‘pii’ does not name a type
8 | pii dfs(int node, int par){
| ^~~
power.cpp: In function ‘int32_t main()’:
power.cpp:28:12: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
28 | graph[a].pb(b);
| ^~
power.cpp:29:12: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
29 | graph[b].pb(a);
| ^~
power.cpp:32:12: error: ‘node’ was not declared in this scope
32 | cout<<dfs(node, par).se;
| ^~~~
power.cpp:32:18: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
32 | cout<<dfs(node, par).se;
| ^~~
|