0_0_37691312_28721.cpp:9:24: error: 'long long int fmax [2000001][26]' redeclared as different kind of symbol
int fmax[maxn][logn + 1], Logn[maxn + 1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37691312_28721.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:963:25: note: previous declaration 'double fmax(double, double)'
extern double __cdecl fmax (double, double);
^
0_0_37691312_28721.cpp:10:24: error: 'long long int fmin [2000001][26]' redeclared as different kind of symbol
int fmin[maxn][logn + 1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37691312_28721.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:968:25: note: previous declaration 'double fmin(double, double)'
extern double __cdecl fmin (double, double);
^
0_0_37691312_28721.cpp: In function 'int main()':
0_0_37691312_28721.cpp:80:29: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fgcd[i][0]=fmin[i][0] = fmax[i][0] = a[i];
^
0_0_37691312_28721.cpp:80:42: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fgcd[i][0]=fmin[i][0] = fmax[i][0] = a[i];
^
0_0_37691312_28721.cpp:85:23: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmax[i][j] = max(fmax[i][j - 1], fmax[i + (1 << (j - 1))][j - 1]), // ST表具体实现
^
0_0_37691312_28721.cpp:85:40: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmax[i][j] = max(fmax[i][j - 1], fmax[i + (1 << (j - 1))][j - 1]), // ST表具体实现
^
0_0_37691312_28721.cpp:85:73: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmax[i][j] = max(fmax[i][j - 1], fmax[i + (1 << (j - 1))][j - 1]), // ST表具体实现
^
0_0_37691312_28721.cpp:86:31: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmin[i][j] = min(fmin[i][j - 1], fmin[i + (1 << (j - 1))][j - 1]),
^
0_0_37691312_28721.cpp:86:48: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmin[i][j] = min(fmin[i][j - 1], fmin[i + (1 << (j - 1))][j - 1]),
^
0_0_37691312_28721.cpp:86:81: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
fmin[i][j] = min(fmin[i][j - 1], fmin[i + (1 << (j - 1))][j - 1]),
^
|