0_0_21426175_26484.cpp: In function 'long long int fast_mod(long long int, int)':
0_0_21426175_26484.cpp:28:5: error: reference to 'array' is ambiguous
array[0][0]=3;
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:29:5: error: reference to 'array' is ambiguous
array[1][1]=0;
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:30:5: error: reference to 'array' is ambiguous
array[0][1]=array[1][0]=1;
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:30:17: error: reference to 'array' is ambiguous
array[0][1]=array[1][0]=1;
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:35:24: error: reference to 'array' is ambiguous
if(k&1)mul(sum,array,mod);
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:36:13: error: reference to 'array' is ambiguous
mul(array,array,mod);
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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_21426175_26484.cpp:36:19: error: reference to 'array' is ambiguous
mul(array,array,mod);
^
0_0_21426175_26484.cpp:6:11: note: candidates are: long long int array [2][2]
long long 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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_21426175_26484.cpp:1:
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
^
|