/in/foo.cc: In function 'dd ch(double)':
/in/foo.cc:59:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (fa[u]!=edge[i].to)
^
/in/foo.cc: In function 'dd check(double)':
/in/foo.cc:103:53: error: 'swap' was not declared in this scope
if (m==2&&e[0].fi==e[1].se) swap(e[1].fi,e[1].se);
^
/in/foo.cc:103:53: note: suggested alternatives:
In file included from /usr/include/c++/6/string:52:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /in/foo.cc:2:
/usr/include/c++/6/bits/basic_string.h:5302:5: note: 'std::swap'
swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~
In file included from /usr/include/c++/6/exception:172:0,
from /usr/include/c++/6/ios:39,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /in/foo.cc:2:
/usr/include/c++/6/bits/exception_ptr.h:164:5: note: 'std::__exception_ptr::swap'
swap(exception_ptr& __lhs, exception_ptr& __rhs)
^~~~
In file included from /usr/include/c++/6/bits/nested_exception.h:40:0,
from /usr/include/c++/6/exception:173,
from /usr/include/c++/6/ios:39,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /in/foo.cc:2:
/usr/include/c++/6/bits/move.h:179:5: note: 'std::swap'
swap(_Tp& __a, _Tp& __b)
^~~~