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_16098478_3184.cpp: In function 'void stop(int, int)':
0_0_16098478_3184.cpp:44:3: error: reference to 'move' is ambiguous
   move[r1][c1]=8;
   ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp:46:27: error: reference to 'move' is ambiguous
       (from[r1][c1][i])&&(move[r1+dir[i][0]][c1+dir[i][1]]!=8))
                           ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp: In function 'int main()':
0_0_16098478_3184.cpp:86:14: error: reference to 'move' is ambiguous
              move[i][j]=8;
              ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp:90:14: error: reference to 'move' is ambiguous
              move[i][j]=d;
              ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp:100:48: error: reference to 'move' is ambiguous
       FR(i,1,n+1) FR(j,1,n+1) if((gri[i][j])&&(move[i][j]==8))
                                                ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp:114:22: error: reference to 'move' is ambiguous
         int i1=i+dir[move[i][j]][0];
                      ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
0_0_16098478_3184.cpp:115:22: error: reference to 'move' is ambiguous
         int j1=j+dir[move[i][j]][1];
                      ^
0_0_16098478_3184.cpp:22:6: note: candidates are: char move [210][210]
 char move[MAXRC][MAXRC];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_16098478_3184.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^


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