F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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)
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-20 02:32:21, Gzip enabled