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_16377456_28672.cpp: In function 'int find(int)':
0_0_16377456_28672.cpp:24:15: error: reference to 'array' is ambiguous
   if(huse[i]||array[num][i]<0)
               ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:26:5: error: reference to 'array' is ambiguous
   t=array[num][i]-ai[num]-hi[i];
     ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp: In function 'int find2(int)':
0_0_16377456_28672.cpp:46:6: error: reference to 'array' is ambiguous
   if(array[num][i]>0&&!vis[i])
      ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp: In function 'int main()':
0_0_16377456_28672.cpp:86:6: error: reference to 'array' is ambiguous
      array[i][j]=k;
      ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:88:6: error: reference to 'array' is ambiguous
      array[i][j]=k+1;
      ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:95:10: error: reference to 'array' is ambiguous
    ai[i]=array[i][0];
          ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:98:14: error: reference to 'array' is ambiguous
     if(ai[i]>array[i][j])
              ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:99:12: error: reference to 'array' is ambiguous
      ai[i]=array[i][j];
            ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_16377456_28672.cpp:137:9: error: reference to 'array' is ambiguous
    sum+=array[match[i]][i];
         ^
0_0_16377456_28672.cpp:12:5: note: candidates are: int array [251][251]
 int array[251][251];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_16377456_28672.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^


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-12-02 06:50:00, Gzip enabled