#include #include #define PI 3.14 using namespace std; int main() { int x1,y1,x2,y2; double R1,R2,r1,r2; double S1,s1,S2,s2; cin>>x1>>y1; cin>>R1>>r1; S1=PI*R1*R1; s1=PI*r1*r1; cout<>x2>>y2; cin>>R2>>r2; S2=PI*R2*R2; s2=PI*r2*r2; cout<(R1+R2)*(R1+R2)) { cout<<"Окръжностите не се допират"; } if(sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))<(R1+R2)*(R1+R2)) { cout<<"Окръжностите се пресичат"; } double S_triangle; double p; Double H; p=(R1+R2+sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)))/2; s_triangle=sqrt(p*(p-R1)*(p-R2)*(p-sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); H=(2*S_triangle)/sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); double S_New_Form; S_New_Form = PI*H*(((R1+R2)-sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))/2); cout<