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_39698792_4430.cpp: In function 'void Dijkstra()':
0_0_39698792_4430.cpp:16:19: error: reference to 'map' is ambiguous
   16 |         cast[i] = map[0][i];
      |                   ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
                 from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:31:26: error: reference to 'map' is ambiguous
   31 |             if(cast[pos]+map[pos][j]<cast[j] && !vis[j])
      |                          ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:32:37: error: reference to 'map' is ambiguous
   32 |                 cast[j] = cast[pos]+map[pos][j];
      |                                     ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp: In function 'int main()':
0_0_39698792_4430.cpp:46:17: error: reference to 'map' is ambiguous
   46 |                 map[i][j] = inf;
      |                 ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:47:13: error: reference to 'map' is ambiguous
   47 |             map[i][i] = 0;
      |             ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:53:18: error: reference to 'map' is ambiguous
   53 |             if(z<map[x][y])
      |                  ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:54:17: error: reference to 'map' is ambiguous
   54 |                 map[x][y] = map[y][x] = z;
      |                 ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:54:29: error: reference to 'map' is ambiguous
   54 |                 map[x][y] = map[y][x] = z;
      |                             ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:60:13: error: reference to 'map' is ambiguous
   60 |             map[0][s[i]] = map[s[i]][0] = 0;
      |             ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~
0_0_39698792_4430.cpp:60:28: error: reference to 'map' is ambiguous
   60 |             map[0][s[i]] = map[s[i]][0] = 0;
      |                            ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  100 |     class map
      |           ^~~
0_0_39698792_4430.cpp:6:5: note:                 'int map [1111][1111]'
    6 | int map[1111][1111];
      |     ^~~


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-22 15:37:03, Gzip enabled