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_36417639_21845.cpp: In function 'void Build_AC()':
0_0_36417639_21845.cpp:58:9: error: reference to 'array' is ambiguous
  memset(array,0,sizeof array); 
         ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp:58:24: error: reference to 'array' is ambiguous
  memset(array,0,sizeof array); 
                        ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp:73:27: error: reference to 'array' is ambiguous
    if(!p->next[i]->mark)++array[p->id][p->next[i]->id];//表示到达的下一个状态非词根,则可以到达 
                           ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp: In function 'void MatrixInit(long long unsigned int (*)[40], bool)':
0_0_36417639_21845.cpp:81:20: error: reference to 'array' is ambiguous
    if(flag)a[i][j]=array[i][j];//a=array
                    ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp: In function 'int main()':
0_0_36417639_21845.cpp:136:3: error: reference to 'array' is ambiguous
   array[0][0]=1,array[0][1]=26;
   ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp:136:17: error: reference to 'array' is ambiguous
   array[0][0]=1,array[0][1]=26;
                 ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp:137:3: error: reference to 'array' is ambiguous
   array[1][0]=0,array[1][1]=26;
   ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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_36417639_21845.cpp:137:17: error: reference to 'array' is ambiguous
   array[1][0]=0,array[1][1]=26;
                 ^
0_0_36417639_21845.cpp:30:18: note: candidates are: long long unsigned int array [40][40]
 unsigned __int64 array[MAX][MAX],sum[MAX][MAX],temp[MAX][MAX],ans[MAX][MAX];
                  ^
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_36417639_21845.cpp:23:
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-11-23 09:42:26, Gzip enabled