0_0_19265225_28745.cpp: In function 'int main()':
0_0_19265225_28745.cpp:108:21: error: reference to 'ends' is ambiguous
ends.x = i;
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:109:21: error: reference to 'ends' is ambiguous
ends.y = j;
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:113:32: error: reference to 'ends' is ambiguous
if ((t - abs(start.x - ends.x) - abs(start.y - ends.y)) < 0 || (t - abs(start.x - ends.x) - abs(start.y - ends.y)) & 1)
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:113:56: error: reference to 'ends' is ambiguous
if ((t - abs(start.x - ends.x) - abs(start.y - ends.y)) < 0 || (t - abs(start.x - ends.x) - abs(start.y - ends.y)) & 1)
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:113:91: error: reference to 'ends' is ambiguous
if ((t - abs(start.x - ends.x) - abs(start.y - ends.y)) < 0 || (t - abs(start.x - ends.x) - abs(start.y - ends.y)) & 1)
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:113:115: error: reference to 'ends' is ambiguous
if ((t - abs(start.x - ends.x) - abs(start.y - ends.y)) < 0 || (t - abs(start.x - ends.x) - abs(start.y - ends.y)) & 1)
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:119:38: error: reference to 'ends' is ambiguous
puts(dfs(start.x,start.y,ends.x,ends.y,0,t) ? "YES" : "NO");
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
0_0_19265225_28745.cpp:119:45: error: reference to 'ends' is ambiguous
puts(dfs(start.x,start.y,ends.x,ends.y,0,t) ? "YES" : "NO");
^
0_0_19265225_28745.cpp:58:8: note: candidates are: node ends
}start,ends;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_19265225_28745.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:576:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::ends(std::basic_ostream<_CharT, _Traits>&)
ends(basic_ostream<_CharT, _Traits>& __os)
^
|