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_38626985_32591.cpp: In function 'double djstl(int, int)':
0_0_38626985_32591.cpp:7:32: error: reference to 'map' is ambiguous
     for(int i=1;i<=n;i++) c[i]=map[a][i];
                                ^~~
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_38626985_32591.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_38626985_32591.cpp:4:8: note:                 'double map [1010][1010]'
 double map[1010][1010],vis[1010],t,c[1010];
        ^~~
0_0_38626985_32591.cpp:20:37: error: reference to 'map' is ambiguous
             if(vis[j]==0&&c[j]<c[p]*map[p][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_38626985_32591.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_38626985_32591.cpp:4:8: note:                 'double map [1010][1010]'
 double map[1010][1010],vis[1010],t,c[1010];
        ^~~
0_0_38626985_32591.cpp:21:23: error: reference to 'map' is ambiguous
             c[j]=c[p]*map[p][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_38626985_32591.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_38626985_32591.cpp:4:8: note:                 'double map [1010][1010]'
 double map[1010][1010],vis[1010],t,c[1010];
        ^~~
0_0_38626985_32591.cpp: In function 'int main()':
0_0_38626985_32591.cpp:30:26: error: reference to 'map' is ambiguous
             scanf("%lf",&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_38626985_32591.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_38626985_32591.cpp:4:8: note:                 'double map [1010][1010]'
 double map[1010][1010],vis[1010],t,c[1010];
        ^~~


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-09-28 17:31:06, Gzip enabled