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_15597091_16292.cpp: In function 'void input()':
0_0_15597091_16292.cpp:52:13: error: reference to 'map' is ambiguous
             map[i][j].c = getchar();
             ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:53:13: error: reference to 'map' is ambiguous
             map[i][j].path = -1;           
             ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp: In function 'bool isvalide(int, int)':
0_0_15597091_16292.cpp:59:37: error: reference to 'map' is ambiguous
     if (x<1 || x>n || y<1 || y>m || map[x][y].c == '0')  
                                     ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp: In function 'void BFS()':
0_0_15597091_16292.cpp:69:5: error: reference to 'map' is ambiguous
     map[sx][sy].path = 0;        
     ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:70:5: error: reference to 'map' is ambiguous
     map[sx][sy].cb = 0;
     ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:71:10: error: reference to 'map' is ambiguous
     t1 = map[sx][sy];
          ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:87:21: error: reference to 'map' is ambiguous
                 if (map[tx][ty].path != -1)      
                     ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:89:25: error: reference to 'map' is ambiguous
                     if (map[tx][ty].c != t2.c)      
                         ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:91:29: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb + 1 || (map[tx][ty].cb == t2.cb + 1 && map[tx][ty].path <= t2.path + 1))
                             ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:91:58: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb + 1 || (map[tx][ty].cb == t2.cb + 1 && map[tx][ty].path <= t2.path + 1))
                                                          ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:91:89: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb + 1 || (map[tx][ty].cb == t2.cb + 1 && map[tx][ty].path <= t2.path + 1))
                                                                                         ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:93:25: error: reference to 'map' is ambiguous
                         map[tx][ty].cb = t2.cb + 1;                
                         ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:94:25: error: reference to 'map' is ambiguous
                         map[tx][ty].path = t2.path + 1;
                         ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:98:29: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb || (map[tx][ty].cb == t2.cb&&map[tx][ty].path <= t2.path + 1))  
                             ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:98:54: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb || (map[tx][ty].cb == t2.cb&&map[tx][ty].path <= t2.path + 1))  
                                                      ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597091_16292.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note:                 template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
     class map
           ^
0_0_15597091_16292.cpp:98:79: error: reference to 'map' is ambiguous
                         if (map[tx][ty].cb<t2.cb || (map[tx][ty].cb == t2.cb&&map[tx][ty].path <= t2.path + 1))  
                                                                               ^
0_0_15597091_16292.cpp:42:5: note: candidates are: Map map [1001][1001]
 Map map[N][N];
     ^
In file include


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-10-06 04:02:56, Gzip enabled