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_38612322_8171.cpp: In function 'int main()':
0_0_38612322_8171.cpp:50:22: error: reference to 'map' is ambiguous
                 cin>>map[i][j];
                      ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~
0_0_38612322_8171.cpp:51:17: error: reference to 'map' is ambiguous
                 map[i][j]=!map[i][j];
                 ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~
0_0_38612322_8171.cpp:51:28: error: reference to 'map' is ambiguous
                 map[i][j]=!map[i][j];
                            ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~
0_0_38612322_8171.cpp:64:28: error: reference to 'map' is ambiguous
                         if(map[i+1][j]&&sta[ns])dp[i][j+1][ns]+=dp[i][j][k];
                            ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~
0_0_38612322_8171.cpp:67:28: error: reference to 'map' is ambiguous
                         if(map[i+1][j]&&sta[ns])dp[i][j+1][ns]+=dp[i][j][k];
                            ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~
0_0_38612322_8171.cpp:70:36: error: reference to 'map' is ambiguous
                                 if(map[i+1][j]&&sta[k^(1<<l)^(1<<j)]){
                                    ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38612322_8171.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38612322_8171.cpp:9:12: note:                 'int map [13][13]'
 int n,m,sz,map[maxn][maxn],sta[maxs],cnt[maxs],last[maxs];
            ^~~


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-02-17 11:00:34, Gzip enabled