| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84058 | sh25_shenpy | 小张的旅游 | C++ | 无测评数据 | 0 MS | 0 KB | 320 | 2026-02-06 20:16:09 |
#include<bits/stdc++.h> using namespace std; double qu(int a,int b,int x,int y){ return sqrt(pow(a-x,2)+pow(b-y,2)); } int main() { int n; cin>>n; int u,v,w,s; for(int i=0;i<n;++i){ cin>>u>>v>>w>>s; cout<<fixed<<setprecision(2)<<qu(u,v,w,s)<<'\n'; } return 0; }