0_0_37666141_2188.cpp: In function 'void dfs(long long int)':
0_0_37666141_2188.cpp:12:13: error: expected unqualified-id before '[' token
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp:12:13: error: expected ';' before '[' token
0_0_37666141_2188.cpp:12:14: error: 'y' was not declared in this scope
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp:12:16: error: 'w' was not declared in this scope
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp: In lambda function:
0_0_37666141_2188.cpp:12:18: error: expected '{' before ':' token
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp: In function 'void dfs(long long int)':
0_0_37666141_2188.cpp:12:18: error: expected ';' before ':' token
0_0_37666141_2188.cpp:12:18: error: expected primary-expression before ':' token
0_0_37666141_2188.cpp:12:18: error: expected ')' before ':' token
0_0_37666141_2188.cpp:12:18: error: expected primary-expression before ':' token
0_0_37666141_2188.cpp: In function 'long long int bfs(long long int)':
0_0_37666141_2188.cpp:30:15: error: expected unqualified-id before '[' token
auto [road,x]=q.top();
^
0_0_37666141_2188.cpp:36:19: error: expected unqualified-id before '[' token
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp:36:19: error: expected ';' before '[' token
0_0_37666141_2188.cpp:36:20: error: 'y' was not declared in this scope
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp:36:22: error: 'w' was not declared in this scope
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp: In lambda function:
0_0_37666141_2188.cpp:36:24: error: expected '{' before ':' token
for(auto [y,w]:e[x]){
^
0_0_37666141_2188.cpp: In function 'long long int bfs(long long int)':
0_0_37666141_2188.cpp:36:24: error: expected ';' before ':' token
0_0_37666141_2188.cpp:36:24: error: expected primary-expression before ':' token
0_0_37666141_2188.cpp:36:24: error: expected ')' before ':' token
0_0_37666141_2188.cpp:36:24: error: expected primary-expression before ':' token
|