/in/foo.cc: In function 'void tarjan(long long int, long long int)':
/in/foo.cc:26:14: error: expected unqualified-id before '[' token
for(auto [v,w]:e[x]){
^
/in/foo.cc:26:14: error: expected ';' before '[' token
/in/foo.cc:26:15: error: 'v' was not declared in this scope
for(auto [v,w]:e[x]){
^
/in/foo.cc:26:17: error: 'w' was not declared in this scope
for(auto [v,w]:e[x]){
^
/in/foo.cc: In lambda function:
/in/foo.cc:26:19: error: expected '{' before ':' token
for(auto [v,w]:e[x]){
^
/in/foo.cc: In function 'void tarjan(long long int, long long int)':
/in/foo.cc:26:19: error: expected ';' before ':' token
/in/foo.cc:26:19: error: expected primary-expression before ':' token
/in/foo.cc:26:19: error: expected ')' before ':' token
/in/foo.cc:26:19: error: expected primary-expression before ':' token
/in/foo.cc: In function 'std::pair<long long int, long long int> bfs(long long int)':
/in/foo.cc:55:18: error: expected unqualified-id before '[' token
for(auto [v,w]:ee[f]){
^
/in/foo.cc:55:18: error: expected ';' before '[' token
/in/foo.cc:55:19: error: 'v' was not declared in this scope
for(auto [v,w]:ee[f]){
^
/in/foo.cc:55:21: error: 'w' was not declared in this scope
for(auto [v,w]:ee[f]){
^
/in/foo.cc: In lambda function:
/in/foo.cc:55:23: error: expected '{' before ':' token
for(auto [v,w]:ee[f]){
^
/in/foo.cc: In function 'std::pair<long long int, long long int> bfs(long long int)':
/in/foo.cc:55:23: error: expected ';' before ':' token
/in/foo.cc:55:23: error: expected primary-expression before ':' token
/in/foo.cc:55:23: error: expected ')' before ':' token
/in/foo.cc:55:23: error: expected primary-expression before ':' token
/in/foo.cc:53:13: warning: unused variable 'f' [-Wunused-variable]
int f=q.front();
^
/in/foo.cc: In function 'bool check(long long int)':
/in/foo.cc:72:18: error: expected unqualified-id before '[' token
for(auto [v,w]:ed[i]){
^
/in/foo.cc:72:18: error: expected ';' before '[' token
/in/foo.cc:72:19: error: 'v' was not declared in this scope
for(auto [v,w]:ed[i]){
^
/in/foo.cc:72:21: error: 'w' was not declared in this scope
for(auto [v,w]:ed[i]){
^
/in/foo.cc: In lambda function:
/in/foo.cc:72:23: error: expected '{' before ':' token
for(auto [v,w]:ed[i]){
^
/in/foo.cc: In function 'bool check(long long int)':
/in/foo.cc:72:23: error: expected ';' before ':' token
/in/foo.cc:72:23: error: expected primary-expression before ':' token
/in/foo.cc:72:23: error: expected ')' before ':' token
/in/foo.cc:72:23: error: expected primary-expression before ':' token
/in/foo.cc: In function 'int main()':
/in/foo.cc:104:18: error: expected unqualified-id before '[' token
for(auto [j,w]:e[i]){
^
/in/foo.cc:104:18: error: expected ';' before '[' token
/in/foo.cc:104:19: error: 'j' was not declared in this scope
for(auto [j,w]:e[i]){
^
/in/foo.cc:104:21: error: 'w' was not declared in this scope
for(auto [j,w]:e[i]){
^
/in/foo.cc: In lambda function:
/in/foo.cc:104:23: error: expected '{' before ':' token
for(auto [j,w]:e[i]){
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:104:23: error: expected ';' before ':' token
/in/foo.cc:104:23: error: expected primary-expression before ':' token
/in/foo.cc:104:23: error: expected ')' before ':' token
/in/foo.cc:104:23: error: expected primary-expression before ':' token
/in/foo.cc:116:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1;
~^~