0_0_19938729_30146.cpp:11:33: error: 'int round [100011]' redeclared as different kind of symbol
int z[N],used[N],down[N],round[N],sum[N],Cnt[N];
^
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_19938729_30146.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:874:25: note: previous declaration 'double round(double)'
extern double __cdecl round (double);
^
0_0_19938729_30146.cpp: In function 'void treedp(int, int)':
0_0_19938729_30146.cpp:39:23: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if (v==last||round[v]) continue;
^
0_0_19938729_30146.cpp: In function 'int find(int, int, int)':
0_0_19938729_30146.cpp:48:40: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
int& v=e[i].to;if (v==(last)||round[v]) continue;
^
0_0_19938729_30146.cpp: In function 'void solve()':
0_0_19938729_30146.cpp:79:34: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
for (int i=op;i<=ed;i++) round[i]=1;
^
0_0_19938729_30146.cpp: In function 'void clear()':
0_0_19938729_30146.cpp:92:41: error: ISO C++ forbids applying 'sizeof' to an expression of function type [-fpermissive]
void clear(){memset(round,0,sizeof(round));memset(used,0,sizeof(used));memset(head,0,sizeof(head));}
^
0_0_19938729_30146.cpp:92:42: error: cannot resolve overloaded function 'round' based on conversion to type 'void*'
void clear(){memset(round,0,sizeof(round));memset(used,0,sizeof(used));memset(head,0,sizeof(head));}
^
|