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_14543520_24611.cpp: In function 'int prim()':
0_0_14543520_24611.cpp:56:16: error: reference to 'map' is ambiguous
         low[i]=map[pos][i];
                ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:73:32: error: reference to 'map' is ambiguous
             if(!c[j] && low[j]>map[pos][j])
                                ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:74:24: error: reference to 'map' is ambiguous
                 low[j]=map[pos][j];
                        ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp: In function 'int main()':
0_0_14543520_24611.cpp:100:20: error: reference to 'map' is ambiguous
                    map[i][j]=M;
                    ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:101:20: error: reference to 'map' is ambiguous
                    map[j][i]=M;
                    ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:105:20: error: reference to 'map' is ambiguous
                    map[i][i]=0;
                    ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:112:17: error: reference to 'map' is ambiguous
            if(c<map[a][b])
                 ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:114:16: error: reference to 'map' is ambiguous
                map[a][b]=c;
                ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:115:16: error: reference to 'map' is ambiguous
                map[b][a]=c;
                ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:127:20: error: reference to 'map' is ambiguous
                    map[ha[i][j]][ha[i][z]]=0;
                    ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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_14543520_24611.cpp:128:20: error: reference to 'map' is ambiguous
                    map[ha[i][z]][ha[i][j]]=0;
                    ^
0_0_14543520_24611.cpp:46:5: note: candidates are: int map [505][505]
 int map[N][N],low[N],c[N],n,m;/*n边数,m点数,map[i][j],i与j的最小边,初始化map[i][j]=MAX,map[i][i]=0,其余不用管*/
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_14543520_24611.cpp:25:
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
           ^


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-12-02 03:37:45, Gzip enabled