Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
74583 桑迪 龟兔赛跑 C++ Accepted 100 0 MS 252 KB 169 2023-05-27 16:33:13

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int x,y,t; double ans,tt; int main(){ cin>>x>>y>>t; tt=1.0*(y*t)/(y-x); ans=tt*x; cout<<(int)ans; return 0; }


Judgement Protocol: