0_0_8312361_5871.cpp:8: error: `int log2[640]' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:509: error: previous declaration of `double log2(double)'
0_0_8312361_5871.cpp:8: error: declaration of `int log2[640]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:509: error: conflicts with previous declaration `double log2(double)'
0_0_8312361_5871.cpp: In function `void init()':
0_0_8312361_5871.cpp:25: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:25: error: ISO C++ forbids comparison between pointer and integer
0_0_8312361_5871.cpp:26: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:26: error: ISO C++ forbids comparison between pointer and integer
0_0_8312361_5871.cpp: In function `int query(int, int, int, int)':
0_0_8312361_5871.cpp:47: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:47: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:47: error: invalid conversion from `double (*)(double)' to `int'
0_0_8312361_5871.cpp:47: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:47: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:47: error: invalid conversion from `double (*)(double)' to `int'
0_0_8312361_5871.cpp: In function `int main()':
0_0_8312361_5871.cpp:54: error: pointer to a function used in arithmetic
0_0_8312361_5871.cpp:54: error: assignment of read-only location
0_0_8312361_5871.cpp:54: error: cannot convert `int' to `double ()(double)' in assignment
|