Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
41766 | 老师 | 龟兔赛跑 | C++ | Accepted | 100 | 0 MS | 256 KB | 172 | 2022-06-18 13:52:45 |
#include<bits/stdc++.h> using namespace std; int main(){ double x,y,t,s; int ans; cin>>x>>y>>t; s=x*t/(y-x); ans=floor(s*y); cout<<ans<<endl; return 0; }