0_0_38885959_4611.cpp: In lambda function:
0_0_38885959_4611.cpp:25:28: error: 'w' was not declared in this scope
25 | edg[cnt] = {v, w, head[u]};
| ^
0_0_38885959_4611.cpp:25:38: error: no match for 'operator=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<edge>, edge>::value_type' {aka 'edge'} and '<brace-enclosed initializer list>')
25 | edg[cnt] = {v, w, head[u]};
| ^
0_0_38885959_4611.cpp:7:8: note: candidate: 'constexpr edge& edge::operator=(const edge&)'
7 | struct edge {
| ^~~~
0_0_38885959_4611.cpp:7:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const edge&'
0_0_38885959_4611.cpp:7:8: note: candidate: 'constexpr edge& edge::operator=(edge&&)'
0_0_38885959_4611.cpp:7:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'edge&&'
0_0_38885959_4611.cpp: In lambda function:
0_0_38885959_4611.cpp:43:29: error: 'class std::queue<int>' has no member named 'top'; did you mean 'pop'?
43 | int u = que.top(); que.pop();
| ^~~
| pop
|