Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
41200 | 王籽易 | 龟兔赛跑 | C++ | Accepted | 100 | 0 MS | 248 KB | 180 | 2022-06-11 15:08:59 |
#include <bits/stdc++.h> using namespace std; double t,x,y,lx; int main(){ cin>>x>>y>>t; lx=x*t; int a=lx; lx+=lx/(y-x)*x; int ans=int(lx); cout<<ans; return 0; }