提交时间:2024-01-27 08:44:39
运行 ID: 129503
#include<bits/stdc++.h> using namespace std; int main() { double x1,x2,y1,y2,s; cin>>x1>>y1>>x2>>y2; s=sqrt(pow((x1-x2),2)+pow((y1-y2),2)); cout<<int(s); return 0; }