0_0_33884402_14620.cpp: In function 'int get(long long int)':
0_0_33884402_14620.cpp:20:9: error: reference to 'array' is ambiguous
while (array[d] != -1) {
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp:21:11: error: reference to 'array' is ambiguous
if (sum[array[d]] == x)
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp:22:11: error: reference to 'array' is ambiguous
return array[d];
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp: In function 'int main()':
0_0_33884402_14620.cpp:39:4: error: reference to 'array' is ambiguous
array[i] = -1;
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp:46:11: error: reference to 'array' is ambiguous
while (array[d] != -1 && sum[array[d]] != sum[i])
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp:46:33: error: reference to 'array' is ambiguous
while (array[d] != -1 && sum[array[d]] != sum[i])
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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_33884402_14620.cpp:48:4: error: reference to 'array' is ambiguous
array[d] = i;
^
0_0_33884402_14620.cpp:10:5: note: candidates are: int array [500000]
int array[NMAX * 5]; // ¹þÏ£¿Õ¼ä
^
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_33884402_14620.cpp:3:
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
^
|