提交时间:2024-01-27 08:31:03

运行 ID: 129428

#include<iostream> #include<math.h> using namespace std; int main(){ double a,b,c,d; cin>>a>>b>>c>>d; cout<<floor(sqrt(pow(a-c,2)+pow(b-d,2)))<<endl; return 0; }