0_0_39301197_25918.cpp: In function 'double dis()':
0_0_39301197_25918.cpp:28:25: error: 'fabs' was not declared in this scope; did you mean 'labs'?
28 | return sqrt(pow(fabs(A.x - B.x), 2) + pow(fabs(A.y - B.y), 2));
| ^~~~
| labs
0_0_39301197_25918.cpp:28:21: error: 'pow' was not declared in this scope
28 | return sqrt(pow(fabs(A.x - B.x), 2) + pow(fabs(A.y - B.y), 2));
| ^~~
0_0_39301197_25918.cpp:28:16: error: 'sqrt' was not declared in this scope
28 | return sqrt(pow(fabs(A.x - B.x), 2) + pow(fabs(A.y - B.y), 2));
| ^~~~
0_0_39301197_25918.cpp: In function 'double solve()':
0_0_39301197_25918.cpp:35:21: error: 'acos' was not declared in this scope
35 | double a1 = acos(d * d / (2 * d * R));
| ^~~~
0_0_39301197_25918.cpp:36:40: error: 'sin' was not declared in this scope
36 | double ans1 = 2 * a1 * R * R - sin(a1) * d * R;
| ^~~
0_0_39301197_25918.cpp: In function 'int main()':
0_0_39301197_25918.cpp:15:12: error: 'acos' was not declared in this scope
15 | #define pi acos(-1.0)
| ^~~~
0_0_39301197_25918.cpp:52:56: note: in expansion of macro 'pi'
52 | printf("Case #%d: %.6lf\n", k, pi * (R * R - r * r));
| ^~
|