0_0_36374813_4071.cpp:18:16: error: 'const long double acos' redeclared as different kind of symbol
#define PI acos(-1.0)
^
0_0_36374813_4071.cpp:79:19: note: in expansion of macro 'PI'
const long double PI = acos(-1.0);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from 0_0_36374813_4071.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:145:18: note: previous declaration 'double acos(double)'
double __cdecl acos(double _X);
^
0_0_36374813_4071.cpp: In function 'int main()':
0_0_36374813_4071.cpp:48:27: error: 'CASE_NUM' was not declared in this scope
#define SOLVE_CASES FORA(CASE_NUM, 1, _TvT_) solve()
^
0_0_36374813_4071.cpp:45:27: note: in definition of macro 'FORA'
#define FORA(A,B, C) for (A = (B); A <= (C); ++A)
^
0_0_36374813_4071.cpp:139:5: note: in expansion of macro 'SOLVE_CASES'
SOLVE_CASES;
^
0_0_36374813_4071.cpp: At global scope:
0_0_36374813_4071.cpp:142:1: error: expected declaration before '}' token
}
^
|