0_0_27948940_26564.cpp:9:14: error: 'point floor [810000]' redeclared as different kind of symbol
}floor[810000];//floor[x]ΦΈ²γΚύ
^
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_27948940_26564.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:154:18: note: previous declaration 'double floor(double)'
double __cdecl floor(double _X);
^
0_0_27948940_26564.cpp: In function 'void buildtree(int, int, int)':
0_0_27948940_26564.cpp:14:13: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].l=L,floor[st].r=R,floor[st].spa=maxspa;
^
0_0_27948940_26564.cpp:14:27: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].l=L,floor[st].r=R,floor[st].spa=maxspa;
^
0_0_27948940_26564.cpp:14:41: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].l=L,floor[st].r=R,floor[st].spa=maxspa;
^
0_0_27948940_26564.cpp: In function 'void add(int, int)':
0_0_27948940_26564.cpp:22:16: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(floor[st].l==floor[st].r)
^
0_0_27948940_26564.cpp:22:29: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(floor[st].l==floor[st].r)
^
0_0_27948940_26564.cpp:24:23: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
cout<<floor[st].l<<endl;
^
0_0_27948940_26564.cpp:25:17: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].spa-=sp;
^
0_0_27948940_26564.cpp:28:19: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(floor[st<<1].spa>=sp) add(sp,st<<1);
^
0_0_27948940_26564.cpp:30:13: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].spa=max(floor[st<<1].spa,floor[st<<1|1].spa);
^
0_0_27948940_26564.cpp:30:34: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].spa=max(floor[st<<1].spa,floor[st<<1|1].spa);
^
0_0_27948940_26564.cpp:30:53: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
floor[st].spa=max(floor[st<<1].spa,floor[st<<1|1].spa);
^
0_0_27948940_26564.cpp: In function 'int main()':
0_0_27948940_26564.cpp:42:23: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(floor[1].spa>=t)
^
|