1_734_4795_6345.cpp:7:33: error: 'long long int pow [107][107]' redeclared as different kind of symbol
long long pre[107], pow[107][107];
^
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 1_734_4795_6345.cpp:4:
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);
^
1_734_4795_6345.cpp: In function 'void init()':
1_734_4795_6345.cpp:13:20: error: assignment of read-only location '*(pow + ((sizetype)i))'
pow[i][0] = 1;
^
1_734_4795_6345.cpp:13:20: error: cannot convert 'int' to 'double(double, double)' in assignment
1_734_4795_6345.cpp:15:39: error: invalid operands of types 'int' and 'double(double, double)' to binary 'operator*'
pow[i][j] = i * pow[i][j-1];
^
1_734_4795_6345.cpp: In function 'void dfs(int, long long int, long long int)':
1_734_4795_6345.cpp:29:45: error: invalid operands of types 'int' and 'double(double, double)' to binary 'operator*'
long long yy = y + i * pow[10][pos-1];
^
1_734_4795_6345.cpp:30:32: error: invalid conversion from 'double (*)(double, double)' to 'long long int' [-fpermissive]
long long sumsum = sum + pow[i][K];
^
|