Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: exoworldgd
Problemset: Tired To Walk
Language: cpp
Time: 0.002 second
Submitted On: 2026-02-23 23:25:52
#pragma GCC optimize("O5,unroll-loops,inline,fast-math,omit-frame-pointer,tree-vectorize")
#pragma GCC target("avx2,bmi,bmi2,popcnt,lzcnt,tune=native,fma,abm,mmx,sse")
#include<bits/stdc++.h>
#define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0)
#define int long long
using namespace std;
int a,b,c,d,e,f,g;
double h,i;
signed main(void){
exoworldgd;
cin>>a>>b>>c>>d>>e>>f,h=a*sqrt(pow(d+f,2)+pow(c+e,2)),i=h/(b*18.0/5.0);
while(i>=1.0)g++,i=i-1.0;
cout<<g<<" hr "<<ceil(i*60)<<" min";
}