#include #include #include #include using namespace std; #define NMAX 1000 double calc(double x1,double y1,double x2,double y2){ return abs(sqrt(pow(x1-x2,2)+pow(y1-y2,2))); } int main(){ double xa,ya,xb,yb; double min_n,min_i; cin>>xa>>ya; cin>>xb>>yb; if(ya=yb-1;i--){ double c=calc(0,i,xa,ya)+calc(0,i,xb,yb); if(c