lab4(80)
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double x1,y1,x2,y2;
cin >> x1;
cin >> y1;
cin >> x2;
cin >> y2;
double m1 = sqrt(x1*x1+y1*y1);
double m2 = sqrt(x2*x2+y2*y2);
if (m1<m2) {
cout << "A ближе" << endl;
}
else {
cout << "B ближе" << endl;
return 0;
}
return 0;
}INFO