0_0_15598003_6955.cpp:20:24: error: 'int pow [10]' redeclared as different kind of symbol
int dp[105][729],pow[10],stac1[10],stac2[10];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from 0_0_15598003_6955.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:151:18: note: previous declaration 'double pow(double, double)'
double __cdecl pow(double _X,double _Y);
^
0_0_15598003_6955.cpp: In function 'void work()':
0_0_15598003_6955.cpp:28:10: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[0]=1;
^
0_0_15598003_6955.cpp:30:10: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[i]=3*pow[i-1];
^
0_0_15598003_6955.cpp:30:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[i]=3*pow[i-1];
^
0_0_15598003_6955.cpp: In function 'int ctod(int*)':
0_0_15598003_6955.cpp:35:30: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
state+=three[i]*pow[i];
^
0_0_15598003_6955.cpp: In function 'int main()':
0_0_15598003_6955.cpp:100:26: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
for(j=0;j<pow[m];j++)
^
0_0_15598003_6955.cpp:109:28: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
for(i=0;i<pow[m];i++)
^
|