Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
74572 | 陈思雨 | 龟兔赛跑 | C++ | Accepted | 100 | 0 MS | 248 KB | 185 | 2023-05-27 16:31:59 |
#include<bits/stdc++.h> using namespace std; int x,y,t,ans=0; int main(){ cin>>x>>y>>t; for(int i=0;(ans-x*t)*1.00/x<=ans*1.00/y;i++){ ans++; } cout<<ans-1; return 0; }