Main.cc: In member function ‘std::pair > atcoder::internal::scc_graph::scc_ids()’:
Main.cc:59:24: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
auto dfs = [&](auto self, int v) -> void {
^~~~
Main.cc: In lambda function:
Main.cc:65:34: error: ‘self’ cannot be used as a function
self(self, to);
^
Main.cc: In member function ‘std::pair > atcoder::internal::scc_graph::scc_ids()’:
Main.cc:83:41: error: no match for call to ‘(atcoder::internal::scc_graph::scc_ids()::) (atcoder::internal::scc_graph::scc_ids()::&, int&)’
if (ord[i] == -1) dfs(dfs, i);
^
Main.cc:59:45: note: candidate: atcoder::internal::scc_graph::scc_ids()::
auto dfs = [&](auto self, int v) -> void {
^~~~
Main.cc:59:45: note: no known conversion for argument 1 from ‘atcoder::internal::scc_graph::scc_ids()::’ to ‘int’