#include<bits/stdc++.h>
using namespace std;
#define int long long
long double ans=0,a,b,c,d;
signed main(){
cin>>a>>b;
while(cin>>a>>b>>c>>d){
ans+=sqrt((a-c)*(a-c)+(b-d)*(b-d))*2;
}
ans=ans/20;
int t=round(ans/1000.0*60.0);
cout<<t/60<<":";
if(t%60<=9) cout<<0;
cout<<t%60;
return 0;
}
标签:int,1123,cin,long,ans,雪车
From: https://www.cnblogs.com/liaoyanxu/p/16936888.html