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];
^~~
|