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