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_18012497_3187.cpp:20:15: error: pasting "/" and "/" does not give a valid preprocessing token
 #define DB    /##/
               ^
0_0_18012497_3187.cpp:117:1: note: in expansion of macro 'DB'
 DB   printf ("nt:(%d,%d)<--(%d,%d) corn:%d step:%d\n", nt.y, nt.x, \
 ^
0_0_18012497_3187.cpp: In function 'void bfs()':
0_0_18012497_3187.cpp:83:45: error: reference to 'end' is ambiguous
    if (!_IN(nt) || ('0' != _MAP(nt) && _MAP(end) != _MAP(nt)))
                                             ^
0_0_18012497_3187.cpp:24:25: note: in definition of macro '_MAP'
 #define _MAP(nd)   map[(nd).y][(nd).x]
                         ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:                 template<class _Container> decltype (__cont.end()) std::end(_Container&)
     end(_Container& __cont) -> decltype(__cont.end())
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note:                 template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
0_0_18012497_3187.cpp:83:45: error: reference to 'end' is ambiguous
    if (!_IN(nt) || ('0' != _MAP(nt) && _MAP(end) != _MAP(nt)))
                                             ^
0_0_18012497_3187.cpp:24:33: note: in definition of macro '_MAP'
 #define _MAP(nd)   map[(nd).y][(nd).x]
                                 ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:                 template<class _Container> decltype (__cont.end()) std::end(_Container&)
     end(_Container& __cont) -> decltype(__cont.end())
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note:                 template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
0_0_18012497_3187.cpp:96:13: error: reference to 'end' is ambiguous
    if (_MAP(end) == _MAP(nt) && !(nt.x == end.x && nt.y == end.y))
             ^
0_0_18012497_3187.cpp:24:25: note: in definition of macro '_MAP'
 #define _MAP(nd)   map[(nd).y][(nd).x]
                         ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:                 template<class _Container> decltype (__cont.end()) std::end(_Container&)
     end(_Container& __cont) -> decltype(__cont.end())
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note:                 template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
0_0_18012497_3187.cpp:96:13: error: reference to 'end' is ambiguous
    if (_MAP(end) == _MAP(nt) && !(nt.x == end.x && nt.y == end.y))
             ^
0_0_18012497_3187.cpp:24:33: note: in definition of macro '_MAP'
 #define _MAP(nd)   map[(nd).y][(nd).x]
                                 ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:                 template<class _Container> decltype (__cont.end()) std::end(_Container&)
     end(_Container& __cont) -> decltype(__cont.end())
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note:                 template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
0_0_18012497_3187.cpp:96:43: error: reference to 'end' is ambiguous
    if (_MAP(end) == _MAP(nt) && !(nt.x == end.x && nt.y == end.y))
                                           ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:                 template<class _Container> decltype (__cont.end()) std::end(_Container&)
     end(_Container& __cont) -> decltype(__cont.end())
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note:                 template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
0_0_18012497_3187.cpp:96:60: error: reference to 'end' is ambiguous
    if (_MAP(end) == _MAP(nt) && !(nt.x == end.x && nt.y == end.y))
                                                            ^
0_0_18012497_3187.cpp:39:11: note: candidates are: NODE end
 NODE beg, end, path[MAXN][MAXN];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
                 from 0_0_18012497_3187.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note:                 template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
     end(_Tp (&__arr)[_Nm])
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note:                 template<class _Container> decltype (__cont.end()) std::end(const _Container&)
     end(const _Container& __cont) -> decltype(__cont.end())
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note:        


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-02 06:24:20, Gzip enabled