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_29948160_31111.cpp: In function 'int find(int, int)':
0_0_29948160_31111.cpp:16:21: error: reference to 'map' is ambiguous
         if(!vis[y]&&map[x][y]==tmp)
                     ^
0_0_29948160_31111.cpp:7:17: note: candidates are: int map [102][102]
 int n,m,k,tx,ty,map[102][102];
                 ^
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_29948160_31111.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_29948160_31111.cpp: In function 'int main()':
0_0_29948160_31111.cpp:46:29: error: reference to 'map' is ambiguous
                 scanf("%d",&map[i][j]);
                             ^
0_0_29948160_31111.cpp:7:17: note: candidates are: int map [102][102]
 int n,m,k,tx,ty,map[102][102];
                 ^
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_29948160_31111.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_29948160_31111.cpp:52:32: error: reference to 'map' is ambiguous
                     if(arr[t]==map[i][j]//fsdgdfgdfhdfghjfgjkgh) break;
                                ^
0_0_29948160_31111.cpp:7:17: note: candidates are: int map [102][102]
 int n,m,k,tx,ty,map[102][102];
                 ^
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_29948160_31111.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_29948160_31111.cpp:53:17: error: expected ')' before '}' token
                 }
                 ^
0_0_29948160_31111.cpp:53:17: error: expected primary-expression before '}' token
0_0_29948160_31111.cpp:54:40: error: reference to 'map' is ambiguous
                 if(t>cnt1) arr[++cnt1]=map[i][j];
                                        ^
0_0_29948160_31111.cpp:7:17: note: candidates are: int map [102][102]
 int n,m,k,tx,ty,map[102][102];
                 ^
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_29948160_31111.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_29948160_31111.cpp:75:17: error: reference to 'list' is ambiguous
                 list[cnt++]=arr[i];
                 ^
0_0_29948160_31111.cpp:10:19: note: candidates are: int list [102]
 int f[1002][1002],list[102],arr[10002];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_29948160_31111.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_29948160_31111.cpp:82:19: error: reference to 'list' is ambiguous
             cout<<list[0];
                   ^
0_0_29948160_31111.cpp:10:19: note: candidates are: int list [102]
 int f[1002][1002],list[102],arr[10002];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_29948160_31111.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_29948160_31111.cpp:88:28: error: reference to 'list' is ambiguous
                 cout<<" "<<list[i];
                            ^
0_0_29948160_31111.cpp:10:19: note: candidates are: int list [102]
 int f[1002][1002],list[102],arr[10002];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_29948160_31111.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^


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-23 19:21:30, Gzip enabled