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_25570244_9961.cpp: In function 'int find(int)':
0_0_25570244_9961.cpp:6:19: error: reference to 'map' is ambiguous
     for(int j=0;j<map[i].size();j++)
                   ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:7:14: error: reference to 'map' is ambiguous
      if(vist[map[i][j]]==0){
              ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:8:15: error: reference to 'map' is ambiguous
          vist[map[i][j]]=1;
               ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:9:19: error: reference to 'map' is ambiguous
          if(match[map[i][j]]==0||find(match[map[i][j]])){
                   ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:9:45: error: reference to 'map' is ambiguous
          if(match[map[i][j]]==0||find(match[map[i][j]])){
                                             ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:10:20: error: reference to 'map' is ambiguous
              match[map[i][j]]=i; return 1;
                    ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp: In function 'void dfs(int)':
0_0_25570244_9961.cpp:21:5: error: reference to 'stack' is ambiguous
     stack[++sn]=i; vist[i]=1;
     ^
0_0_25570244_9961.cpp:16:5: note: candidates are: int stack [5005]
 int stack[5005],sn,low[5005],dfn[5005],deep,node[5005],k;
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:88,
                 from 0_0_25570244_9961.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_25570244_9961.cpp:23:19: error: reference to 'map' is ambiguous
     for(int j=0;j<map[i].size();j++)
                   ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:24:14: error: reference to 'map' is ambiguous
      if(vist[map[i][j]]==0){
              ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:25:14: error: reference to 'map' is ambiguous
          dfs(map[i][j]);
              ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:26:32: error: reference to 'map' is ambiguous
          low[i]=Min(low[i],low[map[i][j]]);
                                ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:28:19: error: reference to 'map' is ambiguous
      else if(vist[map[i][j]]==1)//这个点在栈中
                   ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:29:27: error: reference to 'map' is ambiguous
     low[i]=Min(low[i],dfn[map[i][j]]);
                           ^
0_0_25570244_9961.cpp:4:12: note: candidates are: std::vector<int> map [5005]
 vector<int>map[5005];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
                 from 0_0_25570244_9961.cpp:1:
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_25570244_9961.cpp:32:15: error: reference to 'stack' is ambiguous
         while(stack[sn]!=i){
               ^
0_0_25570244_9961.cpp:16:5: note: candidates are: int stack [5005]
 int stack[5005],sn,low[5005],dfn[5005],deep,node[5005],k;
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:88,
                 from 0_0_


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-15 18:45:36, Gzip enabled