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_26619397_2724.cpp: In function 'long long int Matrix(long long int, int)':
0_0_26619397_2724.cpp:34:2: error: reference to 'array' is ambiguous
  array[0][0]=3,array[1][1]=0;
  ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:34:16: error: reference to 'array' is ambiguous
  array[0][0]=3,array[1][1]=0;
                ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:35:2: error: reference to 'array' is ambiguous
  array[0][1]=array[1][0]=1;
  ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:35:14: error: reference to 'array' is ambiguous
  array[0][1]=array[1][0]=1;
              ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:39:25: error: reference to 'array' is ambiguous
   if(k&1)MatrixMult(sum,array,mod);
                         ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:40:14: error: reference to 'array' is ambiguous
   MatrixMult(array,array,mod);
              ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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_26619397_2724.cpp:40:20: error: reference to 'array' is ambiguous
   MatrixMult(array,array,mod);
                    ^
0_0_26619397_2724.cpp:17:9: note: candidates are: long long int array [2][2]
 __int64 array[2][2],sum[2][2];
         ^
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_26619397_2724.cpp:8:
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-01 19:18:22, Gzip enabled